summaryrefslogtreecommitdiff
path: root/geography
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-10-09 21:01:13 +0000
committermarino <marino@pkgsrc.org>2012-10-09 21:01:13 +0000
commitf5425cb6f5c3312379bc28b79d0dc6ee06844c9d (patch)
tree35d2af03eaa6787b3728ed3f54546a39c6f557ef /geography
parentfe1731acd7076107104fbe546de0b36c4b9098e3 (diff)
downloadpkgsrc-f5425cb6f5c3312379bc28b79d0dc6ee06844c9d.tar.gz
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.
Diffstat (limited to 'geography')
-rw-r--r--geography/geoclue/Makefile5
1 files changed, 2 insertions, 3 deletions
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