diff --git a/srcpkgs/chroot-git/template b/srcpkgs/chroot-git/template index 84c34c422d7..03b79a9ccce 100644 --- a/srcpkgs/chroot-git/template +++ b/srcpkgs/chroot-git/template @@ -5,8 +5,8 @@ revision=1 bootstrap=yes wrksrc="git-${version}" build_style=gnu-configure -configure_args="--with-zlib=$XBPS_MASTERDIR/usr --without-curl - --without-openssl --without-python --without-expat --without-tcltk +configure_args="--without-curl --without-openssl + --without-python --without-expat --without-tcltk ac_cv_lib_curl_curl_global_init=no ac_cv_lib_expat_XML_ParserCreate=no" makedepends="zlib-devel" short_desc="GIT Tree History Storage Tool -- for xbps-src use" @@ -18,6 +18,8 @@ checksum=6d65132471df9e531807cb2746f8be317e22a343b9385bbe11c9ce7f0d2fc848 if [ "$CHROOT_READY" ]; then hostmakedepends="perl tar" +else + configure_args+=" --with-zlib=${XBPS_MASTERDIR}/usr" fi post_configure() {