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.patch | 13 |
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 @@ | |||
1 | diff --git a/Makefile b/Makefile | ||
2 | index 084b7fe..ea297a4 100644 | ||
3 | --- a/Makefile | ||
4 | +++ b/Makefile | ||
5 | @@ -901,7 +901,7 @@ install: all | ||
6 | cp '$(DESTDIR_SQ)$(bindir_SQ)/git$X' \ | ||
7 | '$(DESTDIR_SQ)$(gitexecdir_SQ)/git$X'; \ | ||
8 | fi | ||
9 | -$(foreach p,$(BUILT_INS), rm -f '$(DESTDIR_SQ)$(gitexecdir_SQ)/$p' && ln '$(DESTDIR_SQ)$(gitexecdir_SQ)/git$X' '$(DESTDIR_SQ)$(gitexecdir_SQ)/$p' ;) | ||
10 | +$(foreach p,$(BUILT_INS), rm -f '$(DESTDIR_SQ)$(gitexecdir_SQ)/$p' && ln '$(gitexecdir_SQ)/git$X' '$(DESTDIR_SQ)$(gitexecdir_SQ)/$p' ;) | ||
11 | ifneq (,$X) | ||
12 | $(foreach p,$(patsubst %$X,%,$(filter %$X,$(ALL_PROGRAMS) $(BUILT_INS) git$X)), rm -f '$(DESTDIR_SQ)$(gitexecdir_SQ)/$p';) | ||
13 | endif | ||