diff --git a/srcpkgs/chroot-git/template b/srcpkgs/chroot-git/template index 2bdb4d76be..f9ab40f5ac 100644 --- a/srcpkgs/chroot-git/template +++ b/srcpkgs/chroot-git/template @@ -14,8 +14,6 @@ checksum=bf3c6ab5f82e072aad4768f647cfb1ef60aece39855f83f080f9c0222dd20c4f if [ "$CHROOT_READY" ]; then checkdepends="perl gnupg" -else - configure_args+=" --with-zlib=${XBPS_MASTERDIR}/usr" fi do_configure() { @@ -47,6 +45,9 @@ do_configure() { NO_REGEX = Yes EOF fi + if ! [ "$CHROOT_READY" ]; then + echo "ZLIB_PATH = ${XBPS_MASTERDIR}/usr" >>config.mak + fi } do_build() {