From f2fef7ec5957d819b11d116e736db6b134bce8e2 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sat, 29 Apr 2023 14:32:20 +0200 Subject: git: bump to 2.40.1 --- core/git/build | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) (limited to 'core/git/build') diff --git a/core/git/build b/core/git/build index b61896fa..66665b66 100755 --- a/core/git/build +++ b/core/git/build @@ -10,6 +10,8 @@ NO_PYTHON=YesPlease NO_SYS_POLL_H=1 NO_CROSS_DIRECTORY_HARDLINKS=1 NO_INSTALL_HARDLINKS=1 +NO_CURL= +CURL_LDFLAGS=$(pkgconf --static --libs libcurl) EOF export LDFLAGS="$LDFLAGS -static" @@ -23,20 +25,5 @@ export LDFLAGS="$LDFLAGS -static" make make DESTDIR="$1" install -clman -d "$1" man1/*.1 man5/*.5 man7/*.7 - -# Build and install remote-http helper. This doesn't happen by default when -# building static git. -set -x -export CFLAGS="$CFLAGS -D_XOPEN_SOURCE=600 -I$PWD -I$PWD/compat/regex -I$PWD/xdiff -include config.h" -for obj in http http-walker; do - # shellcheck disable=2086 - "${CC:=cc}" $CFLAGS -c "$obj.c" -done - -# shellcheck disable=2086,2046 -"$CC" $LDFLAGS $CFLAGS -o "$1/usr/libexec/git-core/git-remote-http" remote-curl.c http.o http-walker.o libgit.a common-main.o xdiff/lib.a $(pkg-config --static --libs zlib libcurl) - -for remote in https ftp ftps; do - ln -sf git-remote-http "$1/usr/libexec/git-core/git-remote-$remote" -done +# Install manual pages +clman -d "$1" man[0-9]/*.[0-9] -- cgit v1.2.3