summaryrefslogtreecommitdiff
path: root/package/git/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-08-09 13:25:56 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-08-09 13:25:56 +0200
commitd376828e62b314c66ebb26cb3e3fa9d6b4f7a93a (patch)
treeba76e422aa14e1fe7a6ae562146e03dda5cd70b0 /package/git/patches
parent33c93b411498519da25f21b24abd1b1cb2308d19 (diff)
add git package
Diffstat (limited to 'package/git/patches')
-rw-r--r--package/git/patches/patch-Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/package/git/patches/patch-Makefile b/package/git/patches/patch-Makefile
new file mode 100644
index 000000000..46b1488e5
--- /dev/null
+++ b/package/git/patches/patch-Makefile
@@ -0,0 +1,32 @@
+use symlinks instead of hardlinks
+--- git-1.6.3.3.orig/Makefile 2009-06-22 08:24:25.000000000 +0200
++++ git-1.6.3.3/Makefile 2009-07-24 20:59:26.186421458 +0200
+@@ -215,7 +215,7 @@ bindir_relative = bin
+ bindir = $(prefix)/$(bindir_relative)
+ mandir = share/man
+ infodir = share/info
+-gitexecdir = libexec/git-core
++gitexecdir = bin
+ sharedir = $(prefix)/share
+ template_dir = share/git-core/templates
+ htmldir = share/doc/git-doc
+@@ -1239,7 +1239,6 @@ builtin-help.o: builtin-help.c common-cm
+
+ $(BUILT_INS): git$X
+ $(QUIET_BUILT_IN)$(RM) $@ && \
+- ln git$X $@ 2>/dev/null || \
+ ln -s git$X $@ 2>/dev/null || \
+ cp git$X $@
+
+@@ -1554,11 +1553,9 @@ endif
+ execdir=$$(cd '$(DESTDIR_SQ)$(gitexec_instdir_SQ)' && pwd) && \
+ { $(RM) "$$execdir/git-add$X" && \
+ test -z "$(NO_CROSS_DIRECTORY_HARDLINKS)" && \
+- ln "$$bindir/git$X" "$$execdir/git-add$X" 2>/dev/null || \
+ cp "$$bindir/git$X" "$$execdir/git-add$X"; } && \
+ { for p in $(filter-out git-add$X,$(BUILT_INS)); do \
+ $(RM) "$$execdir/$$p" && \
+- ln "$$execdir/git-add$X" "$$execdir/$$p" 2>/dev/null || \
+ ln -s "git-add$X" "$$execdir/$$p" 2>/dev/null || \
+ cp "$$execdir/git-add$X" "$$execdir/$$p" || exit; \
+ done; } && \