aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-08-05 02:33:14 +0800
committeradamw <adamw@FreeBSD.org>2014-08-05 02:33:14 +0800
commitfe9123b07f6b02ad825e63219ace388dc906f369 (patch)
treece0a33e2415844d87aa8537e2fc3b67144d158dd /net
parent632b4f9f620b66583865371ba029d926d104e6f7 (diff)
downloadfreebsd-ports-gnome-fe9123b07f6b02ad825e63219ace388dc906f369.tar.gz
freebsd-ports-gnome-fe9123b07f6b02ad825e63219ace388dc906f369.tar.zst
freebsd-ports-gnome-fe9123b07f6b02ad825e63219ace388dc906f369.zip
Fix build without gcc.
Diffstat (limited to 'net')
-rw-r--r--net/vncreflector/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/vncreflector/Makefile b/net/vncreflector/Makefile
index d50f8ab135fd..9b7a765896a3 100644
--- a/net/vncreflector/Makefile
+++ b/net/vncreflector/Makefile
@@ -20,7 +20,8 @@ WRKSRC= ${WRKDIR}/vnc_reflector
OPTIONS_DEFINE= DOCS
post-patch:
- ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|; \
+ s|gcc|${CC}|' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin