diff options
author | gdt <gdt@pkgsrc.org> | 2013-01-07 13:20:57 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2013-01-07 13:20:57 +0000 |
commit | d4477869ae904a7ab632751af8059d35b5436081 (patch) | |
tree | c27931422599fceb240aae11d42a1ebfcc4aaa39 /devel/dconf | |
parent | 334c57a6522ef2fdb681dc43e978153baf72d9ac (diff) | |
download | pkgsrc-d4477869ae904a7ab632751af8059d35b5436081.tar.gz |
Transform away -W options for new gcc.
Upstream's makefiles have hardcoded warning options that are only
understood by new gcc (and not by 4.1.3. Transform
-Wno-unused-but-set-variable to -Wno-unused-variable to enable
building on NetBSD-5.
Diffstat (limited to 'devel/dconf')
-rw-r--r-- | devel/dconf/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/dconf/Makefile b/devel/dconf/Makefile index 82527af3004..67cbbc11ea7 100644 --- a/devel/dconf/Makefile +++ b/devel/dconf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2012/12/14 23:35:19 marino Exp $ +# $NetBSD: Makefile,v 1.16 2013/01/07 13:20:57 gdt Exp $ # # Attention: Update this only together with devel/dconf-editor # @@ -18,6 +18,9 @@ CONFIGURE_ARGS+= --disable-editor USE_LIBTOOL= yes USE_TOOLS+= pkg-config gmake intltool msgfmt +# Upstream's makefiles have hardcoded warnings for newer gcc versions. +BUILDLINK_TRANSFORM+= opt:-Wno-unused-but-set-variable:-Wno-unused-variable + PKGCONFIG_OVERRIDE+= client/dconf.pc.in dbus-1/dconf-dbus-1.pc.in .include "../../mk/bsd.prefs.mk" |