summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2012-11-07 19:25:35 +0000
committerPacho Ramos <pacho@gentoo.org>2012-11-07 19:25:35 +0000
commit1f783eea6aa90ea42e7104fe917aaed181bec1ac (patch)
tree7603d877f7cf5baf2c26fa403b34a964ffdd5ada /eclass/gnome2.eclass
parentPass --disable-silent-rules when possible (not needed for eapi5), bug #429308 (diff)
downloadgentoo-2-1f783eea6aa90ea42e7104fe917aaed181bec1ac.tar.gz
gentoo-2-1f783eea6aa90ea42e7104fe917aaed181bec1ac.tar.bz2
gentoo-2-1f783eea6aa90ea42e7104fe917aaed181bec1ac.zip
Pass --disable-schemas-install when possible as discussed with the team via mail.
Diffstat (limited to 'eclass/gnome2.eclass')
-rw-r--r--eclass/gnome2.eclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
index f8e6d4d8ee43..bda69d2f995b 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.109 2012/11/07 19:17:40 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.110 2012/11/07 19:25:35 pacho Exp $
# @ECLASS: gnome2.eclass
# @MAINTAINER:
@@ -133,7 +133,6 @@ 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
@@ -141,6 +140,11 @@ gnome2_src_configure() {
fi
fi
+ # Pass --disable-schemas-install when possible
+ if grep -q "disable-schemas-install" configure; then
+ G2CONF="${G2CONF} --disable-schemas-install"
+ fi
+
# Avoid sandbox violations caused by gnome-vfs (bug #128289 and #345659)
addwrite "$(unset HOME; echo ~)/.gnome2"