summaryrefslogtreecommitdiff
path: root/geography/geoclue
diff options
context:
space:
mode:
authormarino <marino>2012-10-09 15:26:45 +0000
committermarino <marino>2012-10-09 15:26:45 +0000
commit567c1de1686ef2c60edd6a8476b93d2441a22de8 (patch)
treed426a8694d8d0a6f6785c6c52e924457862f2f9d /geography/geoclue
parent46245e4d1f777cbca1573f84b299581c3ed155a3 (diff)
downloadpkgsrc-567c1de1686ef2c60edd6a8476b93d2441a22de8.tar.gz
geography/geoclue: Fix build for gcc4.6+
geoclue uses -Werror, but gcc4.6+ has a new warning, unused-but-set-variable which will break the build. Add a CFLAG to inhibit the warning to fix build on gcc4.6+.
Diffstat (limited to 'geography/geoclue')
-rw-r--r--geography/geoclue/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/geography/geoclue/Makefile b/geography/geoclue/Makefile
index df0daf17086..33b9bf3ed15 100644
--- a/geography/geoclue/Makefile
+++ b/geography/geoclue/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2012/10/08 23:01:38 adam Exp $
+# $NetBSD: Makefile,v 1.16 2012/10/09 15:26:45 marino Exp $
#
DISTNAME= geoclue-0.12.0
@@ -17,6 +17,9 @@ USE_TOOLS+= pkg-config gmake
PKGCONFIG_OVERRIDE+= geoclue.pc.in
+# Needed to pass -Werror for GCC 4.6+
+CFLAGS+= -Wno-unused-but-set-variable
+
# for documentation build
BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt