diff options
author | joerg <joerg@pkgsrc.org> | 2012-10-20 22:04:50 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-10-20 22:04:50 +0000 |
commit | 4893d2dcbb684ad3b359821d9b941b5a4e619beb (patch) | |
tree | 1d32bf1243953c713dcd97815dafd83e59d109c0 /converters | |
parent | 78ea320b4d5846df15ce7def7db31b10a8cac2f8 (diff) | |
download | pkgsrc-4893d2dcbb684ad3b359821d9b941b5a4e619beb.tar.gz |
Fix build with Clang.
Diffstat (limited to 'converters')
-rw-r--r-- | converters/libwps/Makefile | 7 |
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" |