f2aaed44aa
Git's Makefile has a NO_INSTALL_HARDLINKS flag to produce symlinks instead of hard links. However, it still produces hard links between $out/bin and $out/libexec, hence the patch. Also, update Git to 1.8.2.1.
13 lines
615 B
Diff
13 lines
615 B
Diff
diff -ru -x '*~' git-1.8.2.1-orig/Makefile git-1.8.2.1/Makefile
|
|
--- git-1.8.2.1-orig/Makefile 2013-04-08 00:52:04.000000000 +0200
|
|
+++ git-1.8.2.1/Makefile 2013-04-22 15:46:42.906026940 +0200
|
|
@@ -2319,8 +2319,7 @@
|
|
{ test "$$bindir/" = "$$execdir/" || \
|
|
for p in git$X $(filter $(install_bindir_programs),$(ALL_PROGRAMS)); do \
|
|
$(RM) "$$execdir/$$p" && \
|
|
- test -z "$(NO_INSTALL_HARDLINKS)$(NO_CROSS_DIRECTORY_HARDLINKS)" && \
|
|
- ln "$$bindir/$$p" "$$execdir/$$p" 2>/dev/null || \
|
|
+ ln -s "$$bindir/$$p" "$$execdir/$$p" 2>/dev/null || \
|
|
cp "$$bindir/$$p" "$$execdir/$$p" || exit; \
|
|
done; \
|
|
} && \
|