diff options
-rw-r--r-- | net/glib-networking/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net/glib-networking/Makefile b/net/glib-networking/Makefile index 5f5ae114e6b..286a115779c 100644 --- a/net/glib-networking/Makefile +++ b/net/glib-networking/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2012/04/30 14:21:03 drochner Exp $ +# $NetBSD: Makefile,v 1.12 2012/05/01 04:54:03 obache Exp $ # DISTNAME= glib-networking-2.32.1 @@ -18,6 +18,12 @@ CONFIGURE_ARGS+= --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt USE_LIBTOOL= yes USE_TOOLS+= intltool pkg-config gmake gettext +# gcc>=4.2 specific -Werror=XXX flags will be added unconditionally. +.include "../../mk/compiler.mk" +.if !empty(CC_VERSION:Mgcc-4.[01].*) || !empty(CC_VERSION:Mgcc-[1-3].*) +CONFIGURE_ARGS+= --disable-more-warnings +.endif + BUILDLINK_API_DEPENDS.glib2+= glib2>=2.32.1 .include "../../devel/glib2/buildlink3.mk" .include "../../devel/glib2/modules.mk" |