Fix post-patch to allow for CFLAGS containing a slash (which happens

in case of pathnames).
This commit is contained in:
Gerald Pfeifer 2009-06-04 23:50:00 +00:00
parent fa204adcf6
commit 9bf40285a1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=235181

View file

@ -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