mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 08:22:56 +02:00
git: correct ac_cv_fread_reads_directories on all platforms
From commit bf8bba61b8
, (git: correct ac_cv_fread_reads_directories on
musl, 2018-11-14), we've correctly set ac_cv_fread_reads_directories for
git linked with musl-libc variant.
Unfortunately, glibc also allows fopen on directory. But, I was obsessed
with musl-libc at the time, hence forgot to run the test for glibc.
Correct it.
This commit is contained in:
parent
4274455e13
commit
84a254b38e
1 changed files with 4 additions and 8 deletions
|
@ -1,17 +1,17 @@
|
||||||
# Template file for 'git'
|
# Template file for 'git'
|
||||||
pkgname=git
|
pkgname=git
|
||||||
version=2.24.1
|
version=2.24.1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-curl --with-expat --with-tcltk --with-libpcre2
|
configure_args="--with-curl --with-expat --with-tcltk --with-libpcre2
|
||||||
ac_cv_snprintf_returns_bogus=no"
|
ac_cv_snprintf_returns_bogus=no ac_cv_fread_reads_directories=yes"
|
||||||
make_check_target=test
|
make_check_target=test
|
||||||
hostmakedepends="asciidoc gettext perl pkg-config tar tk xmlto"
|
hostmakedepends="asciidoc gettext perl pkg-config tar tk xmlto"
|
||||||
makedepends="libglib-devel libcurl-devel libsecret-devel pcre2-devel tk-devel"
|
makedepends="libglib-devel libcurl-devel libsecret-devel pcre2-devel tk-devel"
|
||||||
# Required by https://
|
# Required by https://
|
||||||
depends="ca-certificates perl-Authen-SASL perl-MIME-tools perl-Net-SMTP-SSL"
|
depends="ca-certificates perl-Authen-SASL perl-MIME-tools perl-Net-SMTP-SSL"
|
||||||
short_desc="Git Tree History Storage Tool"
|
short_desc="Git Tree History Storage Tool"
|
||||||
maintainer="Doan Tran Cong Danh <congdanhqx@gmail.com>"
|
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
||||||
license="GPL-2.0-only"
|
license="GPL-2.0-only"
|
||||||
homepage="https://git-scm.com/"
|
homepage="https://git-scm.com/"
|
||||||
changelog="https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/${version}.txt"
|
changelog="https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/${version}.txt"
|
||||||
|
@ -23,11 +23,7 @@ register_shell=/usr/bin/git-shell
|
||||||
subpackages="git-cvs git-svn gitk git-gui git-all git-libsecret git-netrc"
|
subpackages="git-cvs git-svn gitk git-gui git-all git-libsecret git-netrc"
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl)
|
*-musl) export GIT_SKIP_TESTS='t3900' ;;
|
||||||
configure_args+=" ac_cv_fread_reads_directories=yes"
|
|
||||||
export GIT_SKIP_TESTS='t3900'
|
|
||||||
;;
|
|
||||||
*) configure_args+=" ac_cv_fread_reads_directories=no" ;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
post_configure() {
|
post_configure() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue