Fix post-patch to allow for CFLAGS containing a slash (which happens
in case of pathnames).
This commit is contained in:
parent
fa204adcf6
commit
9bf40285a1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=235181
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ PLIST_FILES= bin/altermime
|
|||
PORTDOCS= CHANGELOG LICENCE README
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s/CFLAGS=-Wall -g/CFLAGS=-Wall ${CFLAGS}/" ${WRKSRC}/Makefile
|
||||
@${REINPLACE_CMD} -e "s#CFLAGS=-Wall -g#CFLAGS=-Wall ${CFLAGS}#" ${WRKSRC}/Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
|
|
Loading…
Reference in a new issue