comparison core/procps/procps.sh @ 549:bad483aace64

vanilla: use prefix= instead
author David Demelier <markand@malikania.fr>
date Sun, 23 Jun 2019 15:13:10 +0200
parents 014d018468fb
children 25cecc6dca48
comparison
equal deleted inserted replaced
548:b1d040632d36 549:bad483aace64
24 PKGDEPENDS="lib/ncurses" 24 PKGDEPENDS="lib/ncurses"
25 PKGOPTIONS="NLS" 25 PKGOPTIONS="NLS"
26 26
27 : ${CHOST:=$(uname -m)-linux-musl} 27 : ${CHOST:=$(uname -m)-linux-musl}
28 : ${CBUILD:=$(uname -m)-linux-musl} 28 : ${CBUILD:=$(uname -m)-linux-musl}
29 : ${CTARGET:=$(uname -m)-linux-musl}
30 : ${CC:=clang} 29 : ${CC:=clang}
31 : ${CFLAGS:=-O2} 30 : ${CFLAGS:=-O2}
32 : ${CXX:=clang++}
33 : ${CXXFLAGS:=-O2}
34 : ${LDFLAGS:=} 31 : ${LDFLAGS:=}
35 : ${LIBS:=} 32 : ${LIBS:=}
36 : ${NLS:=yes} 33 : ${NLS:=yes}
37 34
38 if [ "$NLS" = "yes" ]; then 35 if [ "$NLS" = "yes" ]; then
48 tar xvaf $PKGNAME-v$PKGVERSION.tar.gz 45 tar xvaf $PKGNAME-v$PKGVERSION.tar.gz
49 pushd $PKGNAME-v$PKGVERSION 46 pushd $PKGNAME-v$PKGVERSION
50 47
51 ./autogen.sh 48 ./autogen.sh
52 CC="$CC" \ 49 CC="$CC" \
53 CFLAGS="$CFLAGS" \ 50 CFLAGS="$CFLAGS -I/include/ncurses" \
54 CXX="$CXX" \
55 CXXFLAGS="$CXXFLAGS" \
56 LDFLAGS="$LDFLAGS" \ 51 LDFLAGS="$LDFLAGS" \
57 LIBS="$LIBS" \ 52 LIBS="$LIBS" \
58 ./configure \ 53 ./configure \
59 --build=$CBUILD \ 54 --build=$CBUILD \
60 --host=$CHOST \ 55 --host=$CHOST \
61 --target=$CTARGET \ 56 --prefix= \
62 --prefix=/ \ 57 --sbindir=/bin \
63 --disable-libselinux \ 58 --disable-libselinux \
64 --disable-static \ 59 --disable-static \
65 --disable-kill \ 60 --disable-kill \
66 --enable-shared \ 61 --enable-shared \
67 $with_nls 62 $with_nls