summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
Diffstat (limited to 'converters')
-rw-r--r--converters/libwps/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/converters/libwps/Makefile b/converters/libwps/Makefile
index 8da3a1c1b9e..480d088f5c0 100644
--- a/converters/libwps/Makefile
+++ b/converters/libwps/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2012/10/03 00:20:12 asau Exp $
+# $NetBSD: Makefile,v 1.8 2012/10/20 22:04:50 joerg Exp $
DISTNAME= libwps-0.2.4
CATEGORIES= converters
@@ -17,5 +17,10 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-docs
PKGCONFIG_OVERRIDE+= libwps-0.2.pc.in
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mclang)
+_WRAP_EXTRA_ARGS.CXX+= -Wno-unused-private-field
+.endif
+
.include "../../converters/libwpd/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"