From af41c19e838f93e81afd9906edea0dae3655db63 Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Fri, 14 Jan 2005 06:23:50 +0000 Subject: [PATCH] Respect CC as well as CFLAGS. --- games/qcc/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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