summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Raghavan <ford_prefect@gentoo.org>2011-08-24 07:12:35 +0000
committerArun Raghavan <ford_prefect@gentoo.org>2011-08-24 07:12:35 +0000
commitacd21f747f1f75e916912dddd39e8c7c20854462 (patch)
treeee41912b945cb6e8cd78abbe16fde798b370b2c1 /eclass/gnome2.eclass
parentVersion bump (diff)
downloadgentoo-2-acd21f747f1f75e916912dddd39e8c7c20854462.tar.gz
gentoo-2-acd21f747f1f75e916912dddd39e8c7c20854462.tar.bz2
gentoo-2-acd21f747f1f75e916912dddd39e8c7c20854462.zip
Move GST_REGISTRY export to src_prepare
We might end up calling gst functions anywhere (gupnp-dlna calls it in documentation generation, for example).
Diffstat (limited to 'eclass/gnome2.eclass')
-rw-r--r--eclass/gnome2.eclass11
1 files changed, 7 insertions, 4 deletions
diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
index 865c4cdc04cd..7337a15a3800 100644
--- a/eclass/gnome2.eclass
+++ b/eclass/gnome2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.99 2011/08/14 03:46:33 nirbheek Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.100 2011/08/24 07:12:35 ford_prefect Exp $
# @ECLASS: gnome2.eclass
# @MAINTAINER:
@@ -85,8 +85,12 @@ gnome2_src_unpack() {
# @FUNCTION: gnome2_src_prepare
# @DESCRIPTION:
-# Fix build of scrollkeeper documentation and run elibtoolize.
+# Prepare environment for build, fix build of scrollkeeper documentation,
+# run elibtoolize.
gnome2_src_prepare() {
+ # GST_REGISTRY is to work around gst utilities trying to read/write /root
+ export GST_REGISTRY="${S}/registry.xml"
+
# Prevent scrollkeeper access violations
gnome2_omf_fix
@@ -119,8 +123,7 @@ gnome2_src_configure() {
# Avoid sandbox violations caused by gnome-vfs (bug #128289 and #345659)
addwrite "$(unset HOME; echo ~)/.gnome2"
- # GST_REGISTRY is to work around gst-inspect trying to read/write /root
- GST_REGISTRY="${S}/registry.xml" econf "$@" ${G2CONF}
+ econf "$@" ${G2CONF}
}
# @FUNCTION: gnome2_src_compile