From 1ba70ee96da46896c63d93c717d09a1d4232c27a Mon Sep 17 00:00:00 2001 From: marino Date: Tue, 9 Oct 2012 21:01:13 +0000 Subject: geography/geoclue: Remove -Werror instead Rather than passing -Wno-unused-but-set-variable flag to satisfy -Werror, just remove the -Werror directive. This protects older compilers that might break on an unrecognized future flag. --- geography/geoclue/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'geography/geoclue') diff --git a/geography/geoclue/Makefile b/geography/geoclue/Makefile index 33b9bf3ed15..6485315e1d3 100644 --- a/geography/geoclue/Makefile +++ b/geography/geoclue/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2012/10/09 15:26:45 marino Exp $ +# $NetBSD: Makefile,v 1.17 2012/10/09 21:01:13 marino Exp $ # DISTNAME= geoclue-0.12.0 @@ -17,8 +17,7 @@ USE_TOOLS+= pkg-config gmake PKGCONFIG_OVERRIDE+= geoclue.pc.in -# Needed to pass -Werror for GCC 4.6+ -CFLAGS+= -Wno-unused-but-set-variable +BUILDLINK_TRANSFORM+= rm:-Werror # for documentation build BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt -- cgit v1.2.3