diff options
author | marino <marino> | 2012-10-09 21:01:13 +0000 |
---|---|---|
committer | marino <marino> | 2012-10-09 21:01:13 +0000 |
commit | b11d96beff3a93ba8ae60e3cde0311934abad1da (patch) | |
tree | 35d2af03eaa6787b3728ed3f54546a39c6f557ef /geography | |
parent | 228b3eb48a38efd29ea50f6ff30d578c52355da3 (diff) | |
download | pkgsrc-b11d96beff3a93ba8ae60e3cde0311934abad1da.tar.gz |
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 (limited to 'geography')
-rw-r--r-- | geography/geoclue/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/geography/geoclue/Makefile b/geography/geoclue/Makefile index 33b9bf3ed15..6485315e1d3 100644 --- a/geography/geoclue/Makefile +++ b/geography/geoclue/Makefile @@ -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 @@ USE_TOOLS+= pkg-config gmake 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 |