diff options
-rw-r--r-- | converters/librevenge/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/converters/librevenge/Makefile b/converters/librevenge/Makefile index 378a07d561b..31ee741c259 100644 --- a/converters/librevenge/Makefile +++ b/converters/librevenge/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2014/07/22 10:40:14 wiz Exp $ +# $NetBSD: Makefile,v 1.2 2014/11/29 00:44:49 joerg Exp $ DISTNAME= librevenge-0.0.1 CATEGORIES= converters @@ -22,6 +22,13 @@ PKGCONFIG_OVERRIDE+= librevenge-generators.pc.in PKGCONFIG_OVERRIDE+= librevenge-stream.pc.in PKGCONFIG_OVERRIDE+= librevenge.pc.in +.include "../../mk/compiler.mk" +.if !empty(PKGSRC_COMPILER:Mclang) +CWRAPPERS_APPEND.cxx+= -Wno-error=unused-local-typedef \ + -Wno-error=unused-parameter \ + -Wno-error=shadow +.endif + .include "../../devel/boost-headers/buildlink3.mk" .include "../../devel/cppunit/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" |