svn commit: r364036 - head/net/vncreflector

Adam Weinberger adamw at FreeBSD.org
Mon Aug 4 18:33:15 UTC 2014


Author: adamw
Date: Mon Aug  4 18:33:14 2014
New Revision: 364036
URL: http://svnweb.freebsd.org/changeset/ports/364036
QAT: https://qat.redports.org/buildarchive/r364036/

Log:
  Fix build without gcc.

Modified:
  head/net/vncreflector/Makefile

Modified: head/net/vncreflector/Makefile
==============================================================================
--- head/net/vncreflector/Makefile	Mon Aug  4 18:28:34 2014	(r364035)
+++ head/net/vncreflector/Makefile	Mon Aug  4 18:33:14 2014	(r364036)
@@ -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


More information about the svn-ports-head mailing list