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

Fix sed command to not break on absolute path names in CC

PR:		196901
Submitted by:	sbruno
This commit is contained in:
Diane Bruce 2015-01-20 00:33:16 +00:00
parent 4c9d82a3c4
commit 869cdba9af
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=377492

View File

@ -21,7 +21,7 @@ USES= gettext gmake
INFO= zpu/as zpu/bfd zpu/binutils zpu/configure zpu/ld zpu/standards
post-patch:
@${REINPLACE_CMD} -e 's/%%CC%%/${CC}/' ${WRKSRC}/build.sh
@${REINPLACE_CMD} -e 's|%%CC%%|${CC}|' ${WRKSRC}/build.sh
@${REINPLACE_CMD} -e 's|%%GMAKE%%|${MAKE_CMD}|g' ${WRKSRC}/build.sh
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/build.sh