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

- Respect CC and CXX

Notified by:	gerald
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-04-07 10:12:44 +00:00
parent 687ccf4ec1
commit b42ff9239c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350447

View File

@ -47,11 +47,11 @@ post-patch:
@${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g; \
s|%%PORTVERSION%%|${PORTVERSION}|g' \
${WRKSRC}/INSTALL.im
@${REINPLACE_CMD} 's|"g++|"g++47|' \
@${REINPLACE_CMD} 's|"g++|"${CXX}|' \
${WRKSRC}/INSTALL.im \
${WRKSRC}/scanner/driver/build \
${WRKSRC}/parser/driver/build
@${REINPLACE_CMD} 's|"gcc|"gcc47|' \
@${REINPLACE_CMD} 's|"gcc|"${CC}|' \
${WRKSRC}/icmake/special
@${REINPLACE_CMD} 's|"cp -d |"cp -Pp | ; \
s|"cp -r |"cp -R | ; \