aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-09-14 19:42:42 +0800
committerbapt <bapt@FreeBSD.org>2013-09-14 19:42:42 +0800
commit8eda1c619354bb68361c143e163198243ba14f62 (patch)
treeac96a9093f9ff5625380f88c944fb2ee04e3bfef /graphics
parent21e99a5952fe64a72eef64192647d99a2e981592 (diff)
downloadfreebsd-ports-graphics-8eda1c619354bb68361c143e163198243ba14f62.tar.gz
freebsd-ports-graphics-8eda1c619354bb68361c143e163198243ba14f62.tar.zst
freebsd-ports-graphics-8eda1c619354bb68361c143e163198243ba14f62.zip
Fix build with clang, remove USE_GCC
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xfig/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/xfig/Makefile b/graphics/xfig/Makefile
index c49f1dccb0e..58d4c4dfc00 100644
--- a/graphics/xfig/Makefile
+++ b/graphics/xfig/Makefile
@@ -21,9 +21,10 @@ WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION}
USES= imake
USE_XORG= ice sm x11 xaw xext xi xmu xpm xt
+USE_CSTD= gnu89
+CFLAGS+= -Wno-return-type
MAN1= xfig.1
MANCOMPRESSED= yes
-USE_GCC= any
MAKE_ENV+= DOCSDIR=${DOCSDIR} CHMOD=${CHMOD} TAR=${TAR}
MAKE_ARGS+= INSTALLFLAGS="${COPY}" \