diff options
author | obache <obache@pkgsrc.org> | 2012-05-01 05:35:04 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2012-05-01 05:35:04 +0000 |
commit | 2e38b2b0c26594cc457ad3773008e829cdb7d681 (patch) | |
tree | 7672b1224ea87c6154bf38ec6745f6a318b4af31 /net/libsoup24 | |
parent | 8408ef82a8eaf6cca4494a17a3b8b348b490219c (diff) | |
download | pkgsrc-2e38b2b0c26594cc457ad3773008e829cdb7d681.tar.gz |
disable-more-warnings for gcc<4.2, or gcc>=4.2 specific -Werr=XXX flags will be
used unconditionally and result in build failure.
Diffstat (limited to 'net/libsoup24')
-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" |