svn commit: r364035 - head/textproc/p5-HTML-CTPP2
Adam Weinberger
adamw at FreeBSD.org
Mon Aug 4 18:28:35 UTC 2014
Author: adamw
Date: Mon Aug 4 18:28:34 2014
New Revision: 364035
URL: http://svnweb.freebsd.org/changeset/ports/364035
QAT: https://qat.redports.org/buildarchive/r364035/
Log:
Fix build without gcc.
Modified:
head/textproc/p5-HTML-CTPP2/Makefile
Modified: head/textproc/p5-HTML-CTPP2/Makefile
==============================================================================
--- head/textproc/p5-HTML-CTPP2/Makefile Mon Aug 4 17:49:50 2014 (r364034)
+++ head/textproc/p5-HTML-CTPP2/Makefile Mon Aug 4 18:28:34 2014 (r364035)
@@ -22,7 +22,8 @@ USE_PERL5= configure
CC= ${CXX}
post-patch:
- @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
- ${WRKSRC}/Makefile.PL
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|; \
+ /^my $$CXX/s|g++|${CXX}|; /^my $$CC/s|gcc|${CC}|' \
+ ${WRKSRC}/Makefile.PL
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list