summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2005-07-29 13:59:32 +0000
committerDan Armak <danarmak@gentoo.org>2005-07-29 13:59:32 +0000
commit66a3e34aa14da841c42d20e262885f51eca6b1e9 (patch)
tree553cb23b44c8ba8fcd5efa9e0eee2c5d97a1d52d /eclass/kde.eclass
parentcheck whether confcache_start, _stop are defined functions in order to avoid ... (diff)
downloadgentoo-2-66a3e34aa14da841c42d20e262885f51eca6b1e9.tar.gz
gentoo-2-66a3e34aa14da841c42d20e262885f51eca6b1e9.tar.bz2
gentoo-2-66a3e34aa14da841c42d20e262885f51eca6b1e9.zip
unset KDEHOME, KDEROOTHOME in the build env; fixes 96177.
Diffstat (limited to 'eclass/kde.eclass')
-rw-r--r--eclass/kde.eclass7
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass
index 728beea28cf8..ab22703fecc2 100644
--- a/eclass/kde.eclass
+++ b/eclass/kde.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.124 2005/07/11 15:08:06 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.125 2005/07/29 13:59:32 danarmak Exp $
#
# Author Dan Armak <danarmak@gentoo.org>
#
@@ -84,6 +84,11 @@ kde_src_compile() {
mkdir -p $T/fakehome/.qt
export HOME="$T/fakehome"
addwrite "${QTDIR}/etc/settings"
+
+ # Fix bug 96177: if KDEROOTHOME is defined, the ebuild accesses the real homedir via it, and not our exported $HOME
+ unset KDEHOME
+ unset KDEROOTHOME
+
# things that should access the real homedir
[ -d "$REALHOME/.ccache" ] && ln -sf "$REALHOME/.ccache" "$HOME/"
[ -n "$UNSERMAKE" ] && addwrite "/usr/kde/unsermake"