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
+2 -1
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