pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/geography/geoclue geography/geoclue: Remove -Werror in...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7449bc3c3bbb
branches: trunk
changeset: 609766:7449bc3c3bbb
user: marino <marino%pkgsrc.org@localhost>
date: Tue Oct 09 21:01:13 2012 +0000
description:
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:
geography/geoclue/Makefile | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (19 lines):
diff -r 9f9428f7dbbc -r 7449bc3c3bbb geography/geoclue/Makefile
--- a/geography/geoclue/Makefile Tue Oct 09 19:57:02 2012 +0000
+++ b/geography/geoclue/Makefile Tue Oct 09 21:01:13 2012 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index