mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
Respect CC as well as CFLAGS.
This commit is contained in:
parent
e55f6fd149
commit
af41c19e83
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=126404
@ -20,7 +20,8 @@ WRKSRC= ${WRKDIR}/send
|
||||
MAKEFILE= makefile
|
||||
|
||||
post-extract:
|
||||
@${REINPLACE_CMD} -e '/^CFLAGS/d' ${WRKSRC}/makefile
|
||||
@${REINPLACE_CMD} -E '/^CFLAGS/d; s/cc( -c)? \$$\(C/$$(CC)\1 \$$\(C/' \
|
||||
${WRKSRC}/makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/qcc ${PREFIX}/bin
|
||||
|
Loading…
Reference in New Issue
Block a user