aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-09-14 11:42:42 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-09-14 11:42:42 +0000
commit26ec31772890c8bed5a54b5da3b188967615c78d (patch)
treeac96a9093f9ff5625380f88c944fb2ee04e3bfef /graphics
parent39cdfd90859c503976c68109422ad3c5dac2ce00 (diff)
Fix build with clang, remove USE_GCC
Notes
Notes: svn path=/head/; revision=327276
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 c49f1dccb0ec..58d4c4dfc00c 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}" \