chroot-git: correct ac_cv_fread_reads_directories

From commit 9c0d651aa3, (chroot-git: update to 2.19.2., 2018-11-21),
ac_cv_fread_reads_directories for musl had been set to correct value,
but the value for glibc hadn't been corrected.

This oversight maybe caused by copy-pasted from my change in git's
template.

Correct it
This commit is contained in:
Đoàn Trần Công Danh 2020-01-09 21:31:57 +07:00 committed by Helmut Pozimski
parent 84a254b38e
commit db7f893807
1 changed files with 2 additions and 9 deletions

View File

@ -1,14 +1,14 @@
# Template file for 'chroot-git'
pkgname=chroot-git
version=2.24.1
revision=1
revision=2
bootstrap=yes
wrksrc="git-${version}"
build_style=gnu-configure
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
ac_cv_snprintf_returns_bogus=no"
ac_cv_snprintf_returns_bogus=no ac_cv_fread_reads_directories=yes"
makedepends="zlib-devel"
short_desc="GIT Tree History Storage Tool -- for xbps-src use"
maintainer="Enno Boland <gottox@voidlinux.org>"
@ -23,13 +23,6 @@ else
configure_args+=" --with-zlib=${XBPS_MASTERDIR}/usr"
fi
case "$XBPS_TARGET_MACHINE" in
*-musl)
configure_args+=" ac_cv_fread_reads_directories=yes"
;;
*) configure_args+=" ac_cv_fread_reads_directories=no" ;;
esac
post_configure() {
cat <<-EOF >config.mak
CC_LD_DYNPATH=-L