summaryrefslogtreecommitdiffstats
path: root/games/qcc/Makefile
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2005-01-14 06:23:50 +0000
committerdanfe <danfe@FreeBSD.org>2005-01-14 06:23:50 +0000
commitd87de5f3a64d17f1d614fc3a40c47d7d07e28483 (patch)
tree51003997eaac5a4781b59388fa2fa5c602e92757 /games/qcc/Makefile
parent59f9eaea6ac3ddb8fc1d4b269455c43dc8b2e1b3 (diff)
downloadFreeBSD-ports-d87de5f3a64d17f1d614fc3a40c47d7d07e28483.zip
FreeBSD-ports-d87de5f3a64d17f1d614fc3a40c47d7d07e28483.tar.gz
Respect CC as well as CFLAGS.
Diffstat (limited to 'games/qcc/Makefile')
-rw-r--r--games/qcc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/qcc/Makefile b/games/qcc/Makefile
index c1a59d3..90bcce2 100644
--- a/games/qcc/Makefile
+++ b/games/qcc/Makefile
@@ -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
OpenPOWER on IntegriCloud