diff options
author | joerg <joerg> | 2014-11-29 00:44:49 +0000 |
---|---|---|
committer | joerg <joerg> | 2014-11-29 00:44:49 +0000 |
commit | 0d7d6a68023f32930a9351a8055ee5946aa84dfc (patch) | |
tree | b9aaa3db6b90ee8cd17b1f4daee7884fd9029355 /converters | |
parent | 162eac21434c26c21dd0ab505a8e69660f27a231 (diff) | |
download | pkgsrc-0d7d6a68023f32930a9351a8055ee5946aa84dfc.tar.gz |
Disable some warnings from clang that prevent the Boost detection.
Diffstat (limited to 'converters')
-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" |