diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/fep/Makefile | 8 |
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 && \ |