1
0
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:
Alexey Dokuchaev 2005-01-14 06:23:50 +00:00
parent e55f6fd149
commit af41c19e83
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=126404

View File

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