tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: fixing up cflags - devel/dconf



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: pgpVD3GwNR2AH.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index