Tue May 1 04:54:03 2012 UTC ()
disable-more-warnings for gcc<4.2, or gcc>=4.2 specific -Werr=XXX flags will be
used uncoditionally and result in build failure.


(obache)
diff -r1.11 -r1.12 pkgsrc/net/glib-networking/Makefile

cvs diff -r1.11 -r1.12 pkgsrc/net/glib-networking/Makefile (expand / switch to unified diff)

--- pkgsrc/net/glib-networking/Makefile 2012/04/30 14:21:03 1.11
+++ pkgsrc/net/glib-networking/Makefile 2012/05/01 04:54:03 1.12
@@ -1,30 +1,36 @@ @@ -1,30 +1,36 @@
1# $NetBSD: Makefile,v 1.11 2012/04/30 14:21:03 drochner Exp $ 1# $NetBSD: Makefile,v 1.12 2012/05/01 04:54:03 obache Exp $
2# 2#
3 3
4DISTNAME= glib-networking-2.32.1 4DISTNAME= glib-networking-2.32.1
5CATEGORIES= net 5CATEGORIES= net
6MASTER_SITES= ${MASTER_SITE_GNOME:=sources/glib-networking/2.32/} 6MASTER_SITES= ${MASTER_SITE_GNOME:=sources/glib-networking/2.32/}
7EXTRACT_SUFX= .tar.xz 7EXTRACT_SUFX= .tar.xz
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://www.gnome.org/ 10HOMEPAGE= http://www.gnome.org/
11COMMENT= Network-related giomodules for glib 11COMMENT= Network-related giomodules for glib
12LICENSE= gnu-gpl-v2 12LICENSE= gnu-gpl-v2
13 13
14PKG_DESTDIR_SUPPORT= user-destdir 14PKG_DESTDIR_SUPPORT= user-destdir
15 15
16GNU_CONFIGURE= yes 16GNU_CONFIGURE= yes
17CONFIGURE_ARGS+= --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt 17CONFIGURE_ARGS+= --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt
18USE_LIBTOOL= yes 18USE_LIBTOOL= yes
19USE_TOOLS+= intltool pkg-config gmake gettext 19USE_TOOLS+= intltool pkg-config gmake gettext
20 20
 21# gcc>=4.2 specific -Werror=XXX flags will be added unconditionally.
 22.include "../../mk/compiler.mk"
 23.if !empty(CC_VERSION:Mgcc-4.[01].*) || !empty(CC_VERSION:Mgcc-[1-3].*)
 24CONFIGURE_ARGS+= --disable-more-warnings
 25.endif
 26
21BUILDLINK_API_DEPENDS.glib2+= glib2>=2.32.1 27BUILDLINK_API_DEPENDS.glib2+= glib2>=2.32.1
22.include "../../devel/glib2/buildlink3.mk" 28.include "../../devel/glib2/buildlink3.mk"
23.include "../../devel/glib2/modules.mk" 29.include "../../devel/glib2/modules.mk"
24BUILDLINK_API_DEPENDS.libproxy+= libproxy>=0.3.1 30BUILDLINK_API_DEPENDS.libproxy+= libproxy>=0.3.1
25.include "../../www/libproxy/buildlink3.mk" 31.include "../../www/libproxy/buildlink3.mk"
26.include "../../security/gnutls/buildlink3.mk" 32.include "../../security/gnutls/buildlink3.mk"
27# XXX libcgrypt is not necessary if gnutls was built against nettle, 33# XXX libcgrypt is not necessary if gnutls was built against nettle,
28# but the assumption is hardwired at multiple places 34# but the assumption is hardwired at multiple places
29.include "../../security/libgcrypt/buildlink3.mk" 35.include "../../security/libgcrypt/buildlink3.mk"
30.include "../../mk/bsd.pkg.mk" 36.include "../../mk/bsd.pkg.mk"