Ticket #25551: patch-Makefile.diff

File patch-Makefile.diff, 2.2 KB (added by maccheck@…, 14 years ago)
  • Makefile

    old new  
    134134#
    135135# Define NO_R_TO_GCC_LINKER if your gcc does not like "-R/path/lib"
    136136# that tells runtime paths to dynamic libraries;
    137 # "-Wl,-rpath=/path/lib" is used instead.
     137# "-Wl,-rpath,/path/lib" is used instead.
    138138#
    139139# Define USE_NSEC below if you want git to care about sub-second file mtimes
    140140# and ctimes. Note that you need recent glibc (at least 2.2.4) for this, and
     
    273273gitexecdir = libexec/git-core
    274274sharedir = $(prefix)/share
    275275template_dir = share/git-core/templates
    276 htmldir = share/doc/git-doc
     276htmldir = share/doc/git-core
    277277ifeq ($(prefix),/usr)
    278278sysconfdir = /etc
    279279ETC_GITCONFIG = $(sysconfdir)/gitconfig
     
    11081108        ifdef NO_R_TO_GCC_LINKER
    11091109                # Some gcc does not accept and pass -R to the linker to specify
    11101110                # the runtime dynamic library path.
    1111                 CC_LD_DYNPATH = -Wl,-rpath,
     1111                CC_LD_DYNPATH = -L
    11121112        else
    11131113                CC_LD_DYNPATH = -R
    11141114        endif
     
    11261126        REMOTE_CURL_NAMES =
    11271127else
    11281128        ifdef CURLDIR
    1129                 # Try "-Wl,-rpath=$(CURLDIR)/$(lib)" in such a case.
     1129                # Try "-Wl,-rpath,$(CURLDIR)/$(lib)" in such a case.
    11301130                BASIC_CFLAGS += -I$(CURLDIR)/include
    11311131                CURL_LIBCURL = -L$(CURLDIR)/$(lib) $(CC_LD_DYNPATH)$(CURLDIR)/$(lib) -lcurl
    11321132        else
     
    15191519
    15201520$(BUILT_INS): git$X
    15211521        $(QUIET_BUILT_IN)$(RM) $@ && \
    1522         ln git$X $@ 2>/dev/null || \
    15231522        ln -s git$X $@ 2>/dev/null || \
    15241523        cp git$X $@
    15251524
     
    18281827
    18291828$(REMOTE_CURL_ALIASES): $(REMOTE_CURL_PRIMARY)
    18301829        $(QUIET_LNCP)$(RM) $@ && \
    1831         ln $< $@ 2>/dev/null || \
    18321830        ln -s $< $@ 2>/dev/null || \
    18331831        cp $< $@
    18341832
     
    20062004                cp "$$bindir/git$X" "$$execdir/git$X"; } ; } && \
    20072005        { for p in $(BUILT_INS); do \
    20082006                $(RM) "$$execdir/$$p" && \
    2009                 ln "$$execdir/git$X" "$$execdir/$$p" 2>/dev/null || \
    20102007                ln -s "git$X" "$$execdir/$$p" 2>/dev/null || \
    20112008                cp "$$execdir/git$X" "$$execdir/$$p" || exit; \
    20122009          done; } && \
    20132010        { test x"$(REMOTE_CURL_ALIASES)" = x || \
    20142011                { for p in $(REMOTE_CURL_ALIASES); do \
    20152012                $(RM) "$$execdir/$$p" && \
    2016                 ln "$$execdir/git-remote-http$X" "$$execdir/$$p" 2>/dev/null || \
    20172013                ln -s "git-remote-http$X" "$$execdir/$$p" 2>/dev/null || \
    20182014                cp "$$execdir/git-remote-http$X" "$$execdir/$$p" || exit; \
    20192015          done; } ; } && \