diff options
author | joerg <joerg@pkgsrc.org> | 2012-07-09 19:17:15 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-07-09 19:17:15 +0000 |
commit | 627c5e9e126f44fe25f54ecfa3943c6f3072d12a (patch) | |
tree | 2f388dde11df65a24064dc04b5425a82afedf704 | |
parent | afcd955bf714a1906c7948922733f39cfe3eb48a (diff) | |
download | pkgsrc-627c5e9e126f44fe25f54ecfa3943c6f3072d12a.tar.gz |
Disable -Werror for clang, too much noise.
-rw-r--r-- | converters/libwpd/Makefile | 8 | ||||
-rw-r--r-- | converters/libwpg/Makefile | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/converters/libwpd/Makefile b/converters/libwpd/Makefile index cb37a3a64e4..b67fb03b2c2 100644 --- a/converters/libwpd/Makefile +++ b/converters/libwpd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2011/08/01 04:05:00 dholland Exp $ +# $NetBSD: Makefile,v 1.25 2012/07/09 19:17:15 joerg Exp $ DISTNAME= libwpd-0.9.2 PKGREVISION= 1 @@ -20,4 +20,10 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS+= --without-docs PKGCONFIG_OVERRIDE+= libwpd-0.9.pc.in libwpd-stream-0.9.pc.in +.include "../../mk/compiler.mk" + +.if !empty(PKGSRC_COMPILER:Mclang) +BUILDLINK_TRANSFORM+= rm:-Werror +.endif + .include "../../mk/bsd.pkg.mk" diff --git a/converters/libwpg/Makefile b/converters/libwpg/Makefile index 179cd52479d..1caf2d2c020 100644 --- a/converters/libwpg/Makefile +++ b/converters/libwpg/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2011/02/04 19:56:26 adam Exp $ +# $NetBSD: Makefile,v 1.6 2012/07/09 19:17:15 joerg Exp $ DISTNAME= libwpg-0.2.0 CATEGORIES= converters graphics @@ -21,5 +21,11 @@ PKGCONFIG_OVERRIDE+= libwpg-0.2.pc.in REPLACE_PERL= src/conv/svg/wpg2svgbatch.pl +.include "../../mk/compiler.mk" + +.if !empty(PKGSRC_COMPILER:Mclang) +BUILDLINK_TRANSFORM+= rm:-Werror +.endif + .include "../../converters/libwpd/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |