summaryrefslogtreecommitdiff
path: root/dev-util/git/files/git-1.5.0-symlinks.patch
Side-by-side diff
Diffstat (limited to 'dev-util/git/files/git-1.5.0-symlinks.patch') (more/less context) (ignore whitespace changes)
-rw-r--r--dev-util/git/files/git-1.5.0-symlinks.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-util/git/files/git-1.5.0-symlinks.patch b/dev-util/git/files/git-1.5.0-symlinks.patch
new file mode 100644
index 0000000..282dee8
--- a/dev/null
+++ b/dev-util/git/files/git-1.5.0-symlinks.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile b/Makefile
+index 084b7fe..ea297a4 100644
+--- a/Makefile
++++ b/Makefile
+@@ -901,7 +901,7 @@ install: all
+ cp '$(DESTDIR_SQ)$(bindir_SQ)/git$X' \
+ '$(DESTDIR_SQ)$(gitexecdir_SQ)/git$X'; \
+ fi
+- $(foreach p,$(BUILT_INS), rm -f '$(DESTDIR_SQ)$(gitexecdir_SQ)/$p' && ln '$(DESTDIR_SQ)$(gitexecdir_SQ)/git$X' '$(DESTDIR_SQ)$(gitexecdir_SQ)/$p' ;)
++ $(foreach p,$(BUILT_INS), rm -f '$(DESTDIR_SQ)$(gitexecdir_SQ)/$p' && ln '$(gitexecdir_SQ)/git$X' '$(DESTDIR_SQ)$(gitexecdir_SQ)/$p' ;)
+ ifneq (,$X)
+ $(foreach p,$(patsubst %$X,%,$(filter %$X,$(ALL_PROGRAMS) $(BUILT_INS) git$X)), rm -f '$(DESTDIR_SQ)$(gitexecdir_SQ)/$p';)
+ endif