summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2012-11-07 19:17:40 +0000
committerPacho Ramos <pacho@gentoo.org>2012-11-07 19:17:40 +0000
commite5ecd02464728e0ee99ca092a3789f980c104fcd (patch)
tree3272ea3d7fdeb6e2d5bc964362e4bfdec65866f9 /eclass/gnome2.eclass
parentDrop 'doc' USE flag as it simply rebuilds documentation and causes bugs like ... (diff)
downloadhistorical-e5ecd02464728e0ee99ca092a3789f980c104fcd.tar.gz
historical-e5ecd02464728e0ee99ca092a3789f980c104fcd.tar.bz2
historical-e5ecd02464728e0ee99ca092a3789f980c104fcd.zip
Pass --disable-silent-rules when possible (not needed for eapi5), bug #429308
Diffstat (limited to 'eclass/gnome2.eclass')
-rw-r--r--eclass/gnome2.eclass10
1 files changed, 9 insertions, 1 deletions
diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
index 0ac3fd1e2c2d..f8e6d4d8ee43 100644
--- a/eclass/gnome2.eclass
+++ b/eclass/gnome2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.108 2012/10/23 20:32:51 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.109 2012/11/07 19:17:40 pacho Exp $
# @ECLASS: gnome2.eclass
# @MAINTAINER:
@@ -133,6 +133,14 @@ gnome2_src_configure() {
G2CONF="${G2CONF} --disable-scrollkeeper"
fi
+
+ # Pass --disable-silent-rules when possible (not needed for eapi5), bug #429308
+ if has ${EAPI:-0} 0 1 2 3 4; then
+ if grep -q "disable-silent-rules" configure; then
+ G2CONF="${G2CONF} --disable-silent-rules"
+ fi
+ fi
+
# Avoid sandbox violations caused by gnome-vfs (bug #128289 and #345659)
addwrite "$(unset HOME; echo ~)/.gnome2"