glibc: prepare to be a bootstrap pkg; supersedes chroot-glibc.

This commit is contained in:
Juan RP 2013-10-24 11:15:17 +02:00
parent 7751c03827
commit 1f854abff5

View file

@ -9,7 +9,12 @@ license="GPL-2, LGPL-2.1, BSD"
distfiles="http://ftp.gnu.org/gnu/glibc/glibc-${version}.tar.xz" distfiles="http://ftp.gnu.org/gnu/glibc/glibc-${version}.tar.xz"
checksum=2cb4e1e381928f1e5e55e71ab1ba8e0ea7ede75ff9709770435bfd018ea257a3 checksum=2cb4e1e381928f1e5e55e71ab1ba8e0ea7ede75ff9709770435bfd018ea257a3
hostmakedepends="bison perl" bootstrap=yes
if [ "$CHROOT_READY" ]; then
hostmakedepends="bison perl"
fi
# Force creation of -dbg pkg, required by valgrind. # Force creation of -dbg pkg, required by valgrind.
force_debug_pkgs=yes force_debug_pkgs=yes
@ -34,12 +39,12 @@ do_configure() {
_floatabi="--with-float=hard" _floatabi="--with-float=hard"
fi fi
if [ "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then
_headers="--with-headers=$XBPS_CROSS_BASE/include" _headers="--with-headers=${XBPS_CROSS_BASE}/usr/include"
else else
_headers="--with-headers=/usr/include" _headers="--with-headers=${XBPS_MASTERDIR}/usr/include"
fi fi
../configure ${configure_args} \ SHELL=/bin/bash ../configure ${configure_args} \
--bindir=/usr/bin --sbindir=/usr/sbin \ --bindir=/usr/bin --sbindir=/usr/sbin \
--enable-add-ons=ports,nptl,libidn --enable-obsolete-rpc \ --enable-add-ons=ports,nptl,libidn --enable-obsolete-rpc \
--enable-multi-arch --enable-bind-now \ --enable-multi-arch --enable-bind-now \