pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/glib-networking disable-more-warnings for gcc<4.2,...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6a8c41a59123
branches: trunk
changeset: 603229:6a8c41a59123
user: obache <obache%pkgsrc.org@localhost>
date: Tue May 01 04:54:03 2012 +0000
description:
disable-more-warnings for gcc<4.2, or gcc>=4.2 specific -Werr=XXX flags will be
used uncoditionally and result in build failure.
diffstat:
net/glib-networking/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 7d56ea79f774 -r 6a8c41a59123 net/glib-networking/Makefile
--- a/net/glib-networking/Makefile Tue May 01 02:51:13 2012 +0000
+++ b/net/glib-networking/Makefile Tue May 01 04:54:03 2012 +0000
@@ -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 @@
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"
Home |
Main Index |
Thread Index |
Old Index