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)