- Respect CC and CFLAGS

PR:		162538
Submitted by:	Jan Beich <jbeich@tormail.net>
Feature safe:	yes
This commit is contained in:
Pietro Cerutti 2011-11-23 09:02:10 +00:00
parent 467406db2b
commit e6473b7c92
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=286296

View file

@ -18,7 +18,7 @@ MAN1= nbfc.1
PLIST_FILES= bin/nbfc
post-patch:
${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g;s|bison -y|yacc -|g' \
${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g; s|bison -y|${YACC} -|g; s|gcc|${CC} ${CFLAGS}|g' \
${WRKSRC}/Makefile
.include <bsd.port.mk>