summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2013-05-26 14:08:21 +0000
committerPacho Ramos <pacho@gentoo.org>2013-05-26 14:08:21 +0000
commit46291100bdc9a31c4d4cb347d1989be67df52bc1 (patch)
tree308a50438eee9921d58953e9794399a437995bfa /eclass
parentRespect AR, bug #468114, thanks Michael Mair-Keimberger (diff)
downloadgentoo-2-46291100bdc9a31c4d4cb347d1989be67df52bc1.tar.gz
gentoo-2-46291100bdc9a31c4d4cb347d1989be67df52bc1.tar.bz2
gentoo-2-46291100bdc9a31c4d4cb347d1989be67df52bc1.zip
Pass --enable-compile-warnings=minimum as we don't want -Werror* flags, bug #471336
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog6
-rw-r--r--eclass/gnome2.eclass7
2 files changed, 11 insertions, 2 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index f6125d75aeec..4b067af5e75a 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for eclass directory
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.839 2013/05/24 18:08:10 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.840 2013/05/26 14:08:21 pacho Exp $
+
+ 26 May 2013; Pacho Ramos <pacho@gentoo.org> gnome2.eclass:
+ Pass --enable-compile-warnings=minimum as we don't want -Werror* flags, bug
+ #471336
24 May 2013; Pacho Ramos <pacho@gentoo.org> +mono-env.eclass:
Add mono-env.eclass to start a migration to simpler dotnet related eclasses,
diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
index 11719dbfb5c0..bfbe3780f18c 100644
--- a/eclass/gnome2.eclass
+++ b/eclass/gnome2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.121 2013/05/23 19:31:12 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.122 2013/05/26 14:08:21 pacho Exp $
# @ECLASS: gnome2.eclass
# @MAINTAINER:
@@ -158,6 +158,11 @@ gnome2_src_configure() {
G2CONF="--disable-schemas-compile ${G2CONF}"
fi
+ # Pass --enable-compile-warnings=minimum as we don't want -Werror* flags, bug #471336
+ if grep -q "enable-compile-warnings" "${ECONF_SOURCE:-.}"/configure; then
+ G2CONF="--enable-compile-warnings=minimum ${G2CONF}"
+ fi
+
# Avoid sandbox violations caused by gnome-vfs (bug #128289 and #345659)
addwrite "$(unset HOME; echo ~)/.gnome2"