1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

- Don't use / in sed regexps to allow paths, unbreaking cross-builds

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2015-08-04 16:38:36 +00:00
parent 1523ab78b5
commit 251ec3829b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=393531

View File

@ -35,7 +35,7 @@ post-patch:
@${REINPLACE_CMD} ${REINPLACE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
${WRKSRC}/scripts/upchk ${WRKSRC}/scripts/clientchk \
${WRKSRC}/src/Makefile
@${REINPLACE_CMD} -e 's/CC=gcc/CC="${CC}"/g' \
@${REINPLACE_CMD} -e 's|CC=gcc|CC="${CC}"|g' \
${WRKSRC}/src/Makefile
do-install: