Update packages for xbps-src>=53: use configure_args, get rid of CONFIGURE_SHARED_ARGS.

This commit is contained in:
Juan RP 2013-05-26 10:41:55 +02:00
parent 633f5d2fbb
commit 3d8593b009
52 changed files with 214 additions and 230 deletions

View file

@ -18,9 +18,9 @@ makedepends="libffi-devel readline-devel gdbm-devel openssl-devel
# Force posix semaphores by default; sem_open requires /dev/shm and
# it's not mounted in chroot.
_confargs="--with-threads --enable-ipv6 --with-signal-module --enable-shared
configure_args+=" --with-threads --enable-ipv6 --with-signal-module --enable-shared
--with-system-ffi --enable-unicode=ucs4 --with-system-expat
--with-wctype-functions ac_cv_posix_semaphores_enabled=yes"
--with-wctype-functions ac_cv_posix_semaphores_enabled=yes "
if [ "$CROSS_BUILD" ]; then
# cross build; have to build it in 2 stages: native and host.
@ -37,8 +37,8 @@ if [ "$CROSS_BUILD" ]; then
sed -i "/SQLITE_OMIT_LOAD_EXTENSION/d" setup.py
CFLAGS="$CFLAGS -I$XBPS_CROSS_BASE/include" \
LDFLAGS="$LDFLAGS -L$XBPS_CROSS_BASE/lib" \
./configure ${CONFIGURE_SHARED_ARGS} CC="$CC" LD="$CC" \
${_confargs} ac_cv_buggy_getaddrinfo=no
./configure ${configure_args} CC="$CC" LD="$CC" \
ac_cv_buggy_getaddrinfo=no
}
do_build() {
make HOSTPYTHON=./hostpython HOSTPGEN=./Parser/hostpgen \
@ -58,7 +58,7 @@ else
do_configure() {
# Enable built-in SQLite3 module to load extensions (Arch fix FS#22122)
sed -i "/SQLITE_OMIT_LOAD_EXTENSION/d" setup.py
CC="gcc" LD="gcc" ./configure ${CONFIGURE_SHARED_ARGS} ${_confargs}
CC="gcc" LD="gcc" ./configure ${configure_args}
}
do_build() {
make ${makejobs}