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