1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

- Make it clang-friendly

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2011-06-21 04:55:13 +00:00
parent 19eeeeaf52
commit 46796a9f8a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=275965
2 changed files with 11 additions and 1 deletions

View File

@ -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

View File

@ -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)