From 9c0d651aa392291a249dde11fa2100ad1dce4031 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Wed, 21 Nov 2018 15:48:55 -0200 Subject: [PATCH] chroot-git: update to 2.19.2. --- srcpkgs/chroot-git/template | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/srcpkgs/chroot-git/template b/srcpkgs/chroot-git/template index 0c03485f30c..e2fe33898f4 100644 --- a/srcpkgs/chroot-git/template +++ b/srcpkgs/chroot-git/template @@ -1,23 +1,23 @@ # Template file for 'chroot-git' pkgname=chroot-git -version=2.19.1 +version=2.19.2 revision=1 bootstrap=yes -wrksrc="git-$version" +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_fread_reads_directories=no ac_cv_snprintf_returns_bogus=no" + ac_cv_snprintf_returns_bogus=no" makedepends="zlib-devel" make_build_args="CC_LD_DYNPATH=-L" make_install_args="NO_INSTALL_HARDLINKS=1" short_desc="GIT Tree History Storage Tool -- for xbps-src use" maintainer="Juan RP " -license="GPL-2.0-or-later" +license="GPL-2.0-only" homepage="https://git-scm.com/" distfiles="https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz" -checksum=345056aa9b8084280b1b9fe1374d232dec05a34e8849028a20bfdb56e920dbb5 +checksum=fce9a3a3297db5f3756c4553a2fc1fec209ee08178f8491e76ff4ff8fe7b8be9 if [ "$CHROOT_READY" ]; then hostmakedepends="perl" @@ -25,6 +25,11 @@ 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 + do_install() { # remove unneeded stuff. make DESTDIR=${wrksrc}/build-tmp install