Ticket #25551: patch-Makefile.diff
File patch-Makefile.diff, 2.2 KB (added by maccheck@…, 14 years ago) |
---|
-
Makefile
old new 134 134 # 135 135 # Define NO_R_TO_GCC_LINKER if your gcc does not like "-R/path/lib" 136 136 # that tells runtime paths to dynamic libraries; 137 # "-Wl,-rpath =/path/lib" is used instead.137 # "-Wl,-rpath,/path/lib" is used instead. 138 138 # 139 139 # Define USE_NSEC below if you want git to care about sub-second file mtimes 140 140 # and ctimes. Note that you need recent glibc (at least 2.2.4) for this, and … … 273 273 gitexecdir = libexec/git-core 274 274 sharedir = $(prefix)/share 275 275 template_dir = share/git-core/templates 276 htmldir = share/doc/git- doc276 htmldir = share/doc/git-core 277 277 ifeq ($(prefix),/usr) 278 278 sysconfdir = /etc 279 279 ETC_GITCONFIG = $(sysconfdir)/gitconfig … … 1108 1108 ifdef NO_R_TO_GCC_LINKER 1109 1109 # Some gcc does not accept and pass -R to the linker to specify 1110 1110 # the runtime dynamic library path. 1111 CC_LD_DYNPATH = - Wl,-rpath,1111 CC_LD_DYNPATH = -L 1112 1112 else 1113 1113 CC_LD_DYNPATH = -R 1114 1114 endif … … 1126 1126 REMOTE_CURL_NAMES = 1127 1127 else 1128 1128 ifdef CURLDIR 1129 # Try "-Wl,-rpath =$(CURLDIR)/$(lib)" in such a case.1129 # Try "-Wl,-rpath,$(CURLDIR)/$(lib)" in such a case. 1130 1130 BASIC_CFLAGS += -I$(CURLDIR)/include 1131 1131 CURL_LIBCURL = -L$(CURLDIR)/$(lib) $(CC_LD_DYNPATH)$(CURLDIR)/$(lib) -lcurl 1132 1132 else … … 1519 1519 1520 1520 $(BUILT_INS): git$X 1521 1521 $(QUIET_BUILT_IN)$(RM) $@ && \ 1522 ln git$X $@ 2>/dev/null || \1523 1522 ln -s git$X $@ 2>/dev/null || \ 1524 1523 cp git$X $@ 1525 1524 … … 1828 1827 1829 1828 $(REMOTE_CURL_ALIASES): $(REMOTE_CURL_PRIMARY) 1830 1829 $(QUIET_LNCP)$(RM) $@ && \ 1831 ln $< $@ 2>/dev/null || \1832 1830 ln -s $< $@ 2>/dev/null || \ 1833 1831 cp $< $@ 1834 1832 … … 2006 2004 cp "$$bindir/git$X" "$$execdir/git$X"; } ; } && \ 2007 2005 { for p in $(BUILT_INS); do \ 2008 2006 $(RM) "$$execdir/$$p" && \ 2009 ln "$$execdir/git$X" "$$execdir/$$p" 2>/dev/null || \2010 2007 ln -s "git$X" "$$execdir/$$p" 2>/dev/null || \ 2011 2008 cp "$$execdir/git$X" "$$execdir/$$p" || exit; \ 2012 2009 done; } && \ 2013 2010 { test x"$(REMOTE_CURL_ALIASES)" = x || \ 2014 2011 { for p in $(REMOTE_CURL_ALIASES); do \ 2015 2012 $(RM) "$$execdir/$$p" && \ 2016 ln "$$execdir/git-remote-http$X" "$$execdir/$$p" 2>/dev/null || \2017 2013 ln -s "git-remote-http$X" "$$execdir/$$p" 2>/dev/null || \ 2018 2014 cp "$$execdir/git-remote-http$X" "$$execdir/$$p" || exit; \ 2019 2015 done; } ; } && \