diff options
-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" |