Tue Oct 9 21:01:13 2012 UTC ()
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.


(marino)
diff -r1.16 -r1.17 pkgsrc/geography/geoclue/Makefile

cvs diff -r1.16 -r1.17 pkgsrc/geography/geoclue/Makefile (expand / switch to unified diff)

--- pkgsrc/geography/geoclue/Makefile 2012/10/09 15:26:45 1.16
+++ pkgsrc/geography/geoclue/Makefile 2012/10/09 21:01:13 1.17
@@ -1,33 +1,32 @@ @@ -1,33 +1,32 @@
1# $NetBSD: Makefile,v 1.16 2012/10/09 15:26:45 marino Exp $ 1# $NetBSD: Makefile,v 1.17 2012/10/09 21:01:13 marino Exp $
2# 2#
3 3
4DISTNAME= geoclue-0.12.0 4DISTNAME= geoclue-0.12.0
5PKGREVISION= 12 5PKGREVISION= 12
6CATEGORIES= geography 6CATEGORIES= geography
7MASTER_SITES= http://folks.o-hand.com/jku/geoclue-releases/ 7MASTER_SITES= http://folks.o-hand.com/jku/geoclue-releases/
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://www.freedesktop.org/wiki/Software/GeoClue 10HOMEPAGE= http://www.freedesktop.org/wiki/Software/GeoClue
11COMMENT= Geoinformation service API and base providers 11COMMENT= Geoinformation service API and base providers
12#LICENSE= # TODO: (see mk/license.mk) 12#LICENSE= # TODO: (see mk/license.mk)
13 13
14GNU_CONFIGURE= yes 14GNU_CONFIGURE= yes
15USE_LIBTOOL= yes 15USE_LIBTOOL= yes
16USE_TOOLS+= pkg-config gmake 16USE_TOOLS+= pkg-config gmake
17 17
18PKGCONFIG_OVERRIDE+= geoclue.pc.in 18PKGCONFIG_OVERRIDE+= geoclue.pc.in
19 19
20# Needed to pass -Werror for GCC 4.6+ 20BUILDLINK_TRANSFORM+= rm:-Werror
21CFLAGS+= -Wno-unused-but-set-variable 
22 21
23# for documentation build 22# for documentation build
24BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt 23BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
25 24
26#for test 25#for test
27#.include "../../x11/gtk2/buildlink3.mk" 26#.include "../../x11/gtk2/buildlink3.mk"
28 27
29.include "../../devel/glib2/buildlink3.mk" 28.include "../../devel/glib2/buildlink3.mk"
30.include "../../sysutils/dbus-glib/buildlink3.mk" 29.include "../../sysutils/dbus-glib/buildlink3.mk"
31.include "../../textproc/libxml2/buildlink3.mk" 30.include "../../textproc/libxml2/buildlink3.mk"
32.include "../../devel/GConf/buildlink3.mk" 31.include "../../devel/GConf/buildlink3.mk"
33.include "../../mk/bsd.pkg.mk" 32.include "../../mk/bsd.pkg.mk"