NO_SVN_TESTS=YesPlease
NO_TCLTK=YesPlease
NO_NSEC=YesPlease
+NO_PERL=YesPlease
NO_SVN_TESTS=YesPlease
NO_SYS_POLL_H=1
NO_CROSS_DIRECTORY_HARDLINKS=1
NO_INSTALL_HARDLINKS=1
-NO_PERL=YesPlease
EOF
./configure \
--prefix=/usr \
--libexecdir=/usr/lib \
- ac_cv_lib_curl_curl_global_init=no \
+ ac_cv_lib_curl_curl_global_init=yes \
ac_cv_snprintf_returns_bogus=no \
ac_cv_fread_reads_directories=yes
-gmake LIBS="libgit.a xdiff/lib.a -lz"
+gmake LIBS="$(curl-config --static-libs) libgit.a xdiff/lib.a -lz"
gmake DESTDIR="$1" install
-cp -rf man "$1/usr/share/man"
-rm -rf \
- "$1/usr/share/gitweb" \
- "$1/usr/share/git-core/templates/hooks/*"
+cp -Rf man "$1/usr/share/man"
-https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.32.0.tar.xz
-https://mirrors.edge.kernel.org/pub/software/scm/git/git-manpages-2.32.0.tar.xz man
+https://mirrors.edge.kernel.org/pub/software/scm/git/git-VERSION.tar.xz
+https://mirrors.edge.kernel.org/pub/software/scm/git/git-manpages-VERSION.tar.xz man