From d7ec84a693c9cb39d9447aef160c72d9fd2c0713 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 24 Oct 2013 10:04:53 +0200 Subject: [PATCH] acl: make it find libattr in XBPS_MASTERDIR for the bootstrap build. --- srcpkgs/acl/template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srcpkgs/acl/template b/srcpkgs/acl/template index fc6befb8224..427951e5432 100644 --- a/srcpkgs/acl/template +++ b/srcpkgs/acl/template @@ -14,6 +14,11 @@ checksum=179074bb0580c06c4b4137be4c5a92a701583277967acdb5546043c7874e0d23 bootstrap=yes +if [ -z "$CHROOT_READY" ]; then + CFLAGS+=" -I${XBPS_MASTERDIR}/usr/include" + LDFLAGS+=" -L${XBPS_MASTERDIR}/usr/lib" +fi + do_install() { make DIST_ROOT=${DESTDIR} install install-lib install-dev rm -rf ${DESTDIR}/usr/share/doc