diff --git a/srcpkgs/cloog/template b/srcpkgs/cloog/template index 35c6fef05bc..d32331aef54 100644 --- a/srcpkgs/cloog/template +++ b/srcpkgs/cloog/template @@ -14,6 +14,11 @@ license="GPL-2" distfiles="http://www.bastoul.net/cloog/pages/download/cloog-$version.tar.gz" checksum=02500a4edd14875f94fe84cbeda4290425cb0c1c2474c6f75d75a303d64b4196 +if [ -z "$CHROOT_READY" ]; then + CFLAGS="-I${XBPS_MASTERDIR}/usr/include" + LDFLAGS="-L${XBPS_MASTERDIR}/usr/lib" +fi + cloog-devel_package() { depends="gmp-devel cloog>=${version}" replaces="cloog-ppl-devel>=0"