summaryrefslogtreecommitdiff
path: root/misc/fep
diff options
context:
space:
mode:
authorjoerg <joerg>2012-12-20 21:46:16 +0000
committerjoerg <joerg>2012-12-20 21:46:16 +0000
commite58ccfbcd5cf29fd239ffd6ff5076c477bd4666b (patch)
tree587fd67da1ed6fb54802eaa59400a0f293ff9fce /misc/fep
parent3fbd87e4ff4bc48bbdd6802303af4b73b5a7023b (diff)
downloadpkgsrc-e58ccfbcd5cf29fd239ffd6ff5076c477bd4666b.tar.gz
Stop clang from caring about return usage, this is way too messy to fix up.
Diffstat (limited to 'misc/fep')
-rw-r--r--misc/fep/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/misc/fep/Makefile b/misc/fep/Makefile
index 9152c516888..eef2f8c73d1 100644
--- a/misc/fep/Makefile
+++ b/misc/fep/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2012/10/08 09:57:21 asau Exp $
+# $NetBSD: Makefile,v 1.23 2012/12/20 21:46:16 joerg Exp $
DISTNAME= fep
PKGNAME= fep-1.0
@@ -18,6 +18,12 @@ WRKSRC= ${WRKDIR}
MANCOMPRESSED= yes
INSTALLATION_DIRS+= bin man/man1
+.include "../../mk/compiler.mk"
+
+.if !empty(PKGSRC_COMPILER:Mclang)
+CFLAGS+= -Wno-error=return-type
+.endif
+
pre-build:
cd ${WRKSRC} && \
for i in *.[ch]; do ${SED} "s,#endif lint,#endif /* lint */,g" $${i} > $${i}.new && \