xbps: look for headers/libs in XBPS_MASTERDIR for the bootstrap build.

This commit is contained in:
Juan RP 2013-10-24 10:07:33 +02:00
parent 9faf25b9e7
commit 83ff3fe23a

View file

@ -12,7 +12,10 @@ license="Simplified BSD"
bootstrap=yes
if [ "$CHROOT_READY" ]; then
if [ -z "$CHROOT_READY" ]; then
CFLAGS+=" -idirafter ${XBPS_MASTERDIR}/usr/include"
LDFLAGS+=" -L${XBPS_MASTERDIR}/usr/lib"
else
hostmakedepends="which pkg-config"
makedepends+=" atf-devel"
configure_args+=" --enable-tests"