From 7ba599f1710eec51c5a5e15b2e50632ef44fad52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 17 Aug 2021 21:28:05 +0700 Subject: [PATCH] chroot-git: use masterdir's zlib-devel in bootstrap --- srcpkgs/chroot-git/template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/chroot-git/template b/srcpkgs/chroot-git/template index 2bdb4d76bee..f9ab40f5ac0 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() {