1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Quote the metacharatcers in ${CC} to handle some special cases where ${CC}

may contain spaces.

Submitted by:	Dominic Fandrey <kamikaze@bsdforen.de>
This commit is contained in:
Joe Marcus Clarke 2009-12-25 15:54:05 +00:00
parent 2f8e9c8b27
commit e4b135a2d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=246602

View File

@ -36,7 +36,7 @@ MAN1= g-ir-compiler.1 g-ir-generate.1 g-ir-scanner.1
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|'cc'|'${CC}'|g' \
@${REINPLACE_CMD} -e 's|'cc'|'${CC:Q}'|g' \
${WRKSRC}/giscanner/sourcescanner.py
.include <bsd.port.post.mk>