chroot-git: simplify and avoid gettext dependency.

This commit is contained in:
Juan RP 2020-04-06 13:08:54 +02:00
parent 7d9e2ddc10
commit aa1e576abe
No known key found for this signature in database
GPG Key ID: AF19F6CB482F9368
1 changed files with 3 additions and 4 deletions

View File

@ -5,8 +5,8 @@ revision=1
bootstrap=yes bootstrap=yes
wrksrc="git-${version}" wrksrc="git-${version}"
build_style=gnu-configure build_style=gnu-configure
configure_args="--without-curl --without-openssl configure_args="--with-zlib=$XBPS_MASTERDIR/usr --without-curl
--without-python --without-expat --without-tcltk --without-openssl --without-python --without-expat --without-tcltk
ac_cv_lib_curl_curl_global_init=no ac_cv_lib_expat_XML_ParserCreate=no" ac_cv_lib_curl_curl_global_init=no ac_cv_lib_expat_XML_ParserCreate=no"
makedepends="zlib-devel" makedepends="zlib-devel"
short_desc="GIT Tree History Storage Tool -- for xbps-src use" short_desc="GIT Tree History Storage Tool -- for xbps-src use"
@ -18,14 +18,13 @@ checksum=9ece0dcb07a5e0d7366a92b613b201cca11ae368ab7687041364b3e756e495d6
if [ "$CHROOT_READY" ]; then if [ "$CHROOT_READY" ]; then
hostmakedepends="perl gettext tar" hostmakedepends="perl gettext tar"
else
configure_args+=" --with-zlib=${XBPS_MASTERDIR}/usr"
fi fi
post_configure() { post_configure() {
cat <<-EOF >config.mak cat <<-EOF >config.mak
CC_LD_DYNPATH=-L CC_LD_DYNPATH=-L
NO_INSTALL_HARDLINKS=Yes NO_INSTALL_HARDLINKS=Yes
NO_GETTEXT=Yes
EOF EOF
} }