aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2011-06-21 01:26:54 +0800
committerbapt <bapt@FreeBSD.org>2011-06-21 01:26:54 +0800
commitbad0ebccf559940ab4035db8127ae7b0adba0d8a (patch)
tree0056509261b7b04f8159a1c1f11ca4518bf8911d /lang
parentffacad5a1dacbc3f0940c550163eaf69447f7d7d (diff)
downloadfreebsd-ports-gnome-bad0ebccf559940ab4035db8127ae7b0adba0d8a.tar.gz
freebsd-ports-gnome-bad0ebccf559940ab4035db8127ae7b0adba0d8a.tar.zst
freebsd-ports-gnome-bad0ebccf559940ab4035db8127ae7b0adba0d8a.zip
Fix build with clang
Diffstat (limited to 'lang')
-rw-r--r--lang/picoc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/picoc/Makefile b/lang/picoc/Makefile
index d9d9b78309a7..9c3076e3682b 100644
--- a/lang/picoc/Makefile
+++ b/lang/picoc/Makefile
@@ -25,6 +25,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
post-patch:
@${REINPLACE_CMD} -e "/-include/d" \
-e "s/^CFLAGS=.*/CFLAGS=${CFLAGS} -DUNIX_HOST/" \
+ -e "s/gcc/${CC}/" \
${WRKSRC}/Makefile
do-install: