aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2005-01-14 14:23:50 +0800
committerdanfe <danfe@FreeBSD.org>2005-01-14 14:23:50 +0800
commitd87de5f3a64d17f1d614fc3a40c47d7d07e28483 (patch)
tree51003997eaac5a4781b59388fa2fa5c602e92757 /games
parent59f9eaea6ac3ddb8fc1d4b269455c43dc8b2e1b3 (diff)
downloadfreebsd-ports-gnome-d87de5f3a64d17f1d614fc3a40c47d7d07e28483.tar.gz
freebsd-ports-gnome-d87de5f3a64d17f1d614fc3a40c47d7d07e28483.tar.zst
freebsd-ports-gnome-d87de5f3a64d17f1d614fc3a40c47d7d07e28483.zip
Respect CC as well as CFLAGS.
Diffstat (limited to 'games')
-rw-r--r--games/qcc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/qcc/Makefile b/games/qcc/Makefile
index c1a59d3922c3..90bcce2e6df4 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