aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-HTML-CTPP2
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-08-04 18:28:34 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-08-04 18:28:34 +0000
commit86d7cda805b675f32ec161520dfcaa585ca478b0 (patch)
tree5db7552e11dd18b348c41ee3612c5b879d2b4f5c /textproc/p5-HTML-CTPP2
parent4ea0bfc26a44dbba44927b01f0e9f76d48bd136a (diff)
downloadports-86d7cda805b675f32ec161520dfcaa585ca478b0.tar.gz
ports-86d7cda805b675f32ec161520dfcaa585ca478b0.zip
Notes
Diffstat (limited to 'textproc/p5-HTML-CTPP2')
-rw-r--r--textproc/p5-HTML-CTPP2/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/textproc/p5-HTML-CTPP2/Makefile b/textproc/p5-HTML-CTPP2/Makefile
index ddc256a067c2..7fb6cad9c5ca 100644
--- a/textproc/p5-HTML-CTPP2/Makefile
+++ b/textproc/p5-HTML-CTPP2/Makefile
@@ -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>