diff options
author | marino <marino> | 2012-10-09 15:26:45 +0000 |
---|---|---|
committer | marino <marino> | 2012-10-09 15:26:45 +0000 |
commit | 74a2a12088b6092abcf2539b8f2a1139d0050226 (patch) | |
tree | d426a8694d8d0a6f6785c6c52e924457862f2f9d /geography | |
parent | 5268288687807568a0acd69055bd5f3308b42cdb (diff) | |
download | pkgsrc-74a2a12088b6092abcf2539b8f2a1139d0050226.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')
-rw-r--r-- | geography/geoclue/Makefile | 5 |
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 |