aboutsummaryrefslogtreecommitdiff
path: root/core/git/build
diff options
context:
space:
mode:
Diffstat (limited to 'core/git/build')
-rwxr-xr-xcore/git/build22
1 files changed, 22 insertions, 0 deletions
diff --git a/core/git/build b/core/git/build
new file mode 100755
index 00000000..c129008c
--- /dev/null
+++ b/core/git/build
@@ -0,0 +1,22 @@
+#!/bin/sh -e
+
+cat > config.mak <<EOF
+NO_GETTEXT=YesPlease
+NO_SVN_TESTS=YesPlease
+NO_TCLTK=YesPlease
+NO_EXPAT=YesPlease
+NO_NSEC=YesPlease
+NO_PYTHON=YesPlease
+NO_PERL=YesPlease
+NO_SYS_POLL_H=1
+NO_CROSS_DIRECTORY_HARDLINKS=1
+NO_INSTALL_HARDLINKS=1
+EOF
+
+./configure \
+ --prefix=/usr \
+ ac_cv_snprintf_returns_bogus=no \
+ ac_cv_fread_reads_directories=yes
+
+make
+make DESTDIR="$1" install