diff options
author | joerg <joerg> | 2012-10-20 22:04:50 +0000 |
---|---|---|
committer | joerg <joerg> | 2012-10-20 22:04:50 +0000 |
commit | d0cbfcf4f294bdb4939baa797844cc7deef9c531 (patch) | |
tree | 1d32bf1243953c713dcd97815dafd83e59d109c0 /converters | |
parent | e7e0b9bfe6c02ec424b588522a293a349397adcd (diff) | |
download | pkgsrc-d0cbfcf4f294bdb4939baa797844cc7deef9c531.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" |