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:
parent
84a254b38e
commit
db7f893807
@ -1,14 +1,14 @@
|
|||||||
# Template file for 'chroot-git'
|
# Template file for 'chroot-git'
|
||||||
pkgname=chroot-git
|
pkgname=chroot-git
|
||||||
version=2.24.1
|
version=2.24.1
|
||||||
revision=1
|
revision=2
|
||||||
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="--without-curl --without-openssl
|
||||||
--without-python --without-expat --without-tcltk
|
--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
|
||||||
ac_cv_snprintf_returns_bogus=no"
|
ac_cv_snprintf_returns_bogus=no ac_cv_fread_reads_directories=yes"
|
||||||
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"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
@ -23,13 +23,6 @@ else
|
|||||||
configure_args+=" --with-zlib=${XBPS_MASTERDIR}/usr"
|
configure_args+=" --with-zlib=${XBPS_MASTERDIR}/usr"
|
||||||
fi
|
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() {
|
post_configure() {
|
||||||
cat <<-EOF >config.mak
|
cat <<-EOF >config.mak
|
||||||
CC_LD_DYNPATH=-L
|
CC_LD_DYNPATH=-L
|
||||||
|
Loading…
x
Reference in New Issue
Block a user