1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Fix build without gcc.

This commit is contained in:
Adam Weinberger 2014-08-04 18:28:34 +00:00
parent 4ea0bfc26a
commit 86d7cda805
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364035

View File

@ -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>