aboutsummaryrefslogtreecommitdiff
path: root/lang/picoc
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-10-18 23:07:02 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-10-18 23:07:02 +0000
commite5c7c1935c3e60de38165c22d71ba20d5b6f0a38 (patch)
tree03919ca8c84da782bca116fabc955e02bfe93ce6 /lang/picoc
parent45606ac581a8085136257c64f6a53242b51f2cec (diff)
downloadports-e5c7c1935c3e60de38165c22d71ba20d5b6f0a38.tar.gz
ports-e5c7c1935c3e60de38165c22d71ba20d5b6f0a38.zip
Notes
Diffstat (limited to 'lang/picoc')
-rw-r--r--lang/picoc/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/lang/picoc/Makefile b/lang/picoc/Makefile
index 30849d6dbeaf..12d30ee7fb96 100644
--- a/lang/picoc/Makefile
+++ b/lang/picoc/Makefile
@@ -17,11 +17,8 @@ PLIST_FILES= bin/picoc
WRKSRC= ${WRKDIR}/${PORTNAME}
-post-patch:
- @${REINPLACE_CMD} -e "/-include/d" \
- -e "s/^CFLAGS=.*/CFLAGS=${CFLAGS} -DUNIX_HOST/" \
- -e "s/gcc/${CC}/" \
- ${WRKSRC}/Makefile
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
+CFLAGS+= -DUNIX_HOST
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/picoc ${STAGEDIR}${PREFIX}/bin/picoc