diff options
-rw-r--r-- | net/libsoup24/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net/libsoup24/Makefile b/net/libsoup24/Makefile index 2b8a2f98412..d7edf582866 100644 --- a/net/libsoup24/Makefile +++ b/net/libsoup24/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.40 2012/04/30 14:22:36 drochner Exp $ +# $NetBSD: Makefile,v 1.41 2012/05/01 05:35:04 obache Exp $ DISTNAME= libsoup-2.38.1 PKGNAME= ${DISTNAME:S/libsoup/libsoup24/} @@ -25,6 +25,12 @@ TEST_TARGET= check .include "options.mk" +# 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 + .include "../../databases/sqlite3/buildlink3.mk" BUILDLINK_API_DEPENDS.glib2+= glib2>=2.30.0 .include "../../devel/glib2/buildlink3.mk" |