diff options
author | danfe <danfe@FreeBSD.org> | 2005-01-14 06:23:50 +0000 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2005-01-14 06:23:50 +0000 |
commit | d87de5f3a64d17f1d614fc3a40c47d7d07e28483 (patch) | |
tree | 51003997eaac5a4781b59388fa2fa5c602e92757 /games/qcc/Makefile | |
parent | 59f9eaea6ac3ddb8fc1d4b269455c43dc8b2e1b3 (diff) | |
download | FreeBSD-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/Makefile | 3 |
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 |