From 567c1de1686ef2c60edd6a8476b93d2441a22de8 Mon Sep 17 00:00:00 2001 From: marino Date: Tue, 9 Oct 2012 15:26:45 +0000 Subject: 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+. --- geography/geoclue/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'geography/geoclue') 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 -- cgit v1.2.3