Ticket #10973: git-core.patch
File git-core.patch, 4.3 KB (added by jon.olsson@…, 18 years ago) |
---|
-
Portfile
old new 2 2 3 3 PortSystem 1.0 4 4 name git-core 5 version 1.4. 05 version 1.4.3.2 6 6 description The stupid content tracker. 7 7 long_description A stupid (but extremely fast) directory \ 8 8 content manager. It doesn't do a whole lot, \ … … 11 11 maintainers darwinports@opendarwin.org 12 12 categories devel 13 13 platforms darwin 14 homepage http:// kernel.org/git/14 homepage http://git.or.cz/ 15 15 use_bzip2 yes 16 16 master_sites http://www.kernel.org/pub/software/scm/git/ 17 checksums md5 923fa60aca74db3ce175c9a2c665f24017 checksums md5 c13797079424790597d696972fffa7b4 18 18 distname git-${version} 19 depends_run bin:curl:curl bin:diff:diffutils bin:merge:rcs bin:wish:tk \20 bin:ssh:openssh bin:python:python24 bin:rsync:rsync \21 bin:sed:gsed19 depends_run port:curl port:diffutils port:tk \ 20 port:openssh port:python24 port:rsync \ 21 port:gsed port:expat 22 22 depends_lib port:curl port:zlib port:openssl port:expat port:libiconv 23 23 24 24 patchfiles patch-Makefiles -
files/patch-Makefiles
old new 1 diff --recursive --unified ../git-1.4.0.orig/Documentation/Makefile ./Documentation/Makefile 2 --- ../git-1.4.0.orig/Documentation/Makefile 2006-06-10 15:41:54.000000000 -0400 3 +++ ./Documentation/Makefile 2006-06-29 22:48:15.000000000 -0400 4 @@ -26,7 +26,7 @@ 5 6 prefix?=$(HOME) 7 bin=$(prefix)/bin 8 -mandir=$(prefix)/man 9 +mandir=$(prefix)/share/man 10 man1=$(mandir)/man1 11 man7=$(mandir)/man7 12 # DESTDIR= 13 diff --recursive --unified ../git-1.4.0.orig/Makefile ./Makefile 14 --- ../git-1.4.0.orig/Makefile 2006-06-10 15:41:54.000000000 -0400 15 +++ ./Makefile 2006-06-29 22:50:34.000000000 -0400 16 @@ -85,8 +85,6 @@ 1 --- ../git-1.4.3.2.orig/Makefile 2006-10-24 07:29:47.000000000 +0200 2 +++ Makefile 2006-11-02 13:48:47.000000000 +0100 3 @@ -106,8 +106,6 @@ 17 4 18 5 # CFLAGS and LDFLAGS are for the users to override from the command line. 19 6 … … 22 9 ALL_CFLAGS = $(CFLAGS) 23 10 ALL_LDFLAGS = $(LDFLAGS) 24 11 STRIP ?= strip 25 @@ -243,16 +241,6 @@ 26 ifeq ($(uname_S),Darwin) 12 @@ -152,7 +150,7 @@ 13 # Those must not be GNU-specific; they are shared with perl/ which may 14 # be built by a different compiler. (Note that this is an artifact now 15 # but it still might be nice to keep that distinction.) 16 -BASIC_CFLAGS = 17 +BASIC_CFLAGS = -I$(prefix)/include 18 BASIC_LDFLAGS = 19 20 SCRIPT_SH = \ 21 @@ -329,18 +327,6 @@ 27 22 NEEDS_SSL_WITH_CRYPTO = YesPlease 28 23 NEEDS_LIBICONV = YesPlease 29 - ## fink 30 - ifeq ($(shell test -d /sw/lib && echo y),y) 31 - ALL_CFLAGS += -I/sw/include 32 - ALL_LDFLAGS += -L/sw/lib 24 NO_STRLCPY = YesPlease 25 - ifndef NO_FINK 26 - ifeq ($(shell test -d /sw/lib && echo y),y) 27 - BASIC_CFLAGS += -I/sw/include 28 - BASIC_LDFLAGS += -L/sw/lib 29 - endif 33 30 - endif 34 - ## darwinports 35 - ifeq ($(shell test -d /opt/local/lib && echo y),y) 36 - ALL_CFLAGS += -I/opt/local/include 37 - ALL_LDFLAGS += -L/opt/local/lib 31 - ifndef NO_DARWIN_PORTS 32 - ifeq ($(shell test -d /opt/local/lib && echo y),y) 33 - BASIC_CFLAGS += -I/opt/local/include 34 - BASIC_LDFLAGS += -L/opt/local/lib 35 - endif 38 36 - endif 39 37 endif 40 38 ifeq ($(uname_S),SunOS) 41 39 NEEDS_SOCKET = YesPlease 42 @@ - 337,7 +325,7 @@40 @@ -432,7 +418,7 @@ 43 41 ifdef CURLDIR 44 42 # This is still problematic -- gcc does not always want -R. 45 ALL_CFLAGS += -I$(CURLDIR)/include43 BASIC_CFLAGS += -I$(CURLDIR)/include 46 44 - CURL_LIBCURL = -L$(CURLDIR)/lib -R$(CURLDIR)/lib -lcurl 47 45 + CURL_LIBCURL = -L$(CURLDIR)/lib -lcurl 48 46 else 49 47 CURL_LIBCURL = -lcurl 50 48 endif 51 @@ -358,7 +346,7 @@ 49 @@ -444,7 +430,7 @@ 50 endif 51 endif 52 ifndef NO_EXPAT 53 - EXPAT_LIBEXPAT = -lexpat 54 + EXPAT_LIBEXPAT = -L$(prefix)/lib -lexpat 55 endif 56 endif 57 58 @@ -453,7 +439,7 @@ 52 59 ifdef OPENSSLDIR 53 60 # Again this may be problematic -- gcc does not always want -R. 54 ALL_CFLAGS += -I$(OPENSSLDIR)/include61 BASIC_CFLAGS += -I$(OPENSSLDIR)/include 55 62 - OPENSSL_LINK = -L$(OPENSSLDIR)/lib -R$(OPENSSLDIR)/lib 56 63 + OPENSSL_LINK = -L$(OPENSSLDIR)/lib 57 64 else 58 65 OPENSSL_LINK = 59 66 endif 60 @@ - 376,7 +364,7 @@67 @@ -471,7 +457,7 @@ 61 68 ifdef ICONVDIR 62 69 # Again this may be problematic -- gcc does not always want -R. 63 ALL_CFLAGS += -I$(ICONVDIR)/include70 BASIC_CFLAGS += -I$(ICONVDIR)/include 64 71 - ICONV_LINK = -L$(ICONVDIR)/lib -R$(ICONVDIR)/lib 65 72 + ICONV_LINK = -L$(ICONVDIR)/lib 66 73 else