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:
parent
4ea0bfc26a
commit
86d7cda805
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364035
@ -22,7 +22,8 @@ USE_PERL5= configure
|
||||
CC= ${CXX}
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
|
||||
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|; \
|
||||
/^my $$CXX/s|g++|${CXX}|; /^my $$CC/s|gcc|${CC}|' \
|
||||
${WRKSRC}/Makefile.PL
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user