1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00

- Fix build when CC contains slashes

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2015-12-17 18:46:14 +00:00
parent 8fe2c14615
commit 903f0b2f60
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=403928

View File

@ -86,7 +86,7 @@ CONFIG_SUB+= TEST_PERF="\# " \
_CONFIG_SUB_TEMP= ${CONFIG_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/}
post-patch:
${REINPLACE_CMD} -e '/^CC/s/gcc/${CC}/; /^HOSTCC/s/gcc/${CC}/' \
${REINPLACE_CMD} -e '/^CC/s|gcc|${CC}|; /^HOSTCC/s|gcc|${CC}|' \
${WRKSRC}/config/Rules.mak
do-configure: