From d376828e62b314c66ebb26cb3e3fa9d6b4f7a93a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 9 Aug 2009 13:25:56 +0200 Subject: add git package --- package/git/patches/patch-Makefile | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 package/git/patches/patch-Makefile (limited to 'package/git/patches') 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; } && \ -- cgit v1.2.3