aboutsummaryrefslogtreecommitdiffstats
path: root/net/pwhois
diff options
context:
space:
mode:
authorzi <zi@FreeBSD.org>2014-04-13 13:16:04 +0800
committerzi <zi@FreeBSD.org>2014-04-13 13:16:04 +0800
commit0a138c221a4cc0af796237fb5197679178a2501d (patch)
treefc66b35e653c5706649a318395772ee8cc1adac2 /net/pwhois
parent9c58a367a3400da4ff9a67ea1a10a0c7331f197d (diff)
downloadfreebsd-ports-gnome-0a138c221a4cc0af796237fb5197679178a2501d.tar.gz
freebsd-ports-gnome-0a138c221a4cc0af796237fb5197679178a2501d.tar.zst
freebsd-ports-gnome-0a138c221a4cc0af796237fb5197679178a2501d.zip
- Don't force use of gcc
Diffstat (limited to 'net/pwhois')
-rw-r--r--net/pwhois/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/pwhois/Makefile b/net/pwhois/Makefile
index 724b9befd786..31258fc6a9ef 100644
--- a/net/pwhois/Makefile
+++ b/net/pwhois/Makefile
@@ -32,7 +32,9 @@ SUB_LIST= TOUCH="${TOUCH}" RM="${RM}" CHOWN="${CHOWN}" \
USER="${USERS}" GROUP="${GROUPS}" INSTALL="${INSTALL}"
post-patch:
- ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
+ -e 's|CC = gcc |CC = ${CC}|g' \
+ ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|/etc/pwhois/|${ETCDIR}/|g' \
-e 's|/var/pwhois/|/var/db/pwhois/|g' \
-e 's|/var/log/|/var/log/pwhois/|g' \