diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2011-06-21 12:55:13 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2011-06-21 12:55:13 +0800 |
commit | b2bff75546c214e412ec1b7931db26c9c894577c (patch) | |
tree | 8f61648e950d4c89716e8cccc620d870a9676f68 /net | |
parent | bf96dbe3c7c10f405a09f61fe73fb72705f986f1 (diff) | |
download | freebsd-ports-gnome-b2bff75546c214e412ec1b7931db26c9c894577c.tar.gz freebsd-ports-gnome-b2bff75546c214e412ec1b7931db26c9c894577c.tar.zst freebsd-ports-gnome-b2bff75546c214e412ec1b7931db26c9c894577c.zip |
- Make it clang-friendly
Diffstat (limited to 'net')
-rw-r--r-- | net/mDNSResponder/Makefile | 1 | ||||
-rw-r--r-- | net/mDNSResponder/files/patch-mDNSPosix_Makefile | 11 |
2 files changed, 11 insertions, 1 deletions
diff --git a/net/mDNSResponder/Makefile b/net/mDNSResponder/Makefile index 46d36dff7a21..4778a29b7fd7 100644 --- a/net/mDNSResponder/Makefile +++ b/net/mDNSResponder/Makefile @@ -43,6 +43,7 @@ BROKEN= Does not compile on alpha .endif post-patch: + @${REINPLACE_CMD} -e '/ cc / s|cc|$${CC}|' ${WRKSRC}/Clients/Makefile @${MV} ${WRKSRC}/mDNSShared/mDNSResponder.8 \ ${WRKSRC}/mDNSShared/mDNSResponderPosix.8 diff --git a/net/mDNSResponder/files/patch-mDNSPosix_Makefile b/net/mDNSResponder/files/patch-mDNSPosix_Makefile index 9d546ef5b950..26830c18a350 100644 --- a/net/mDNSResponder/files/patch-mDNSPosix_Makefile +++ b/net/mDNSResponder/files/patch-mDNSPosix_Makefile @@ -1,5 +1,14 @@ --- mDNSPosix/Makefile.orig 2009-08-11 09:13:47.000000000 +0800 -+++ mDNSPosix/Makefile 2011-01-11 11:51:28.000000000 +0800 ++++ mDNSPosix/Makefile 2011-06-21 10:22:59.016198425 +0800 +@@ -54,7 +54,7 @@ + SHAREDDIR ?= ../mDNSShared + JDK = /usr/jdk + +-CC = @cc ++CC ?= @cc + BISON = @bison + FLEX = @flex + LD = ld -shared @@ -118,7 +118,7 @@ LOCALBASE?=/usr/local INSTBASE=$(LOCALBASE) |