summaryrefslogtreecommitdiff
path: root/geography/geoclue
diff options
context:
space:
mode:
authormarino <marino>2012-10-09 21:01:13 +0000
committermarino <marino>2012-10-09 21:01:13 +0000
commit1ba70ee96da46896c63d93c717d09a1d4232c27a (patch)
tree35d2af03eaa6787b3728ed3f54546a39c6f557ef /geography/geoclue
parent10e56a95a048a708ea904aa5ff138dcaf7f215d7 (diff)
downloadpkgsrc-1ba70ee96da46896c63d93c717d09a1d4232c27a.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/geoclue')
-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