[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-tech-pkg
Subject:    Re: fixing up cflags - devel/dconf
From:       Greg Troxel <gdt () ir ! bbn ! com>
Date:       2012-11-20 20:03:33
Message-ID: rmifw449h4a.fsf () fnord ! ir ! bbn ! com
[Download RAW message or body]


Thanks.  This worked (patch against stable):

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/dconf/Makefile,v
retrieving revision 1.11
diff -u -p -r1.11 Makefile
--- Makefile	15 Sep 2012 10:04:07 -0000	1.11
+++ Makefile	20 Nov 2012 20:04:22 -0000
@@ -21,6 +21,9 @@ CONFIGURE_ARGS+= --disable-editor
 USE_LIBTOOL=	yes
 USE_TOOLS+=	pkg-config gmake
 
+# 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
 
 BUILDLINK_DEPMETHOD.vala= build

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic