summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2002-11-01 11:16:45 +0000
committerDan Armak <danarmak@gentoo.org>2002-11-01 11:16:45 +0000
commitff2ac9fe1a2a2dff82cd4815b1b17d8fac4fbc66 (patch)
treefadaaaaa1637d9a650e587e5121c2780ab61d2d0 /eclass/kde.eclass
parentnew funcitonality: non-anonymous cvs access via :ext: and ssh/rsh, courtesy o... (diff)
downloadhistorical-ff2ac9fe1a2a2dff82cd4815b1b17d8fac4fbc66.tar.gz
historical-ff2ac9fe1a2a2dff82cd4815b1b17d8fac4fbc66.tar.bz2
historical-ff2ac9fe1a2a2dff82cd4815b1b17d8fac4fbc66.zip
was deprecated weeks ago, no longer in use
Diffstat (limited to 'eclass/kde.eclass')
-rw-r--r--eclass/kde.eclass12
1 files changed, 11 insertions, 1 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass
index bb92733a859c..ea8a0e3e2967 100644
--- a/eclass/kde.eclass
+++ b/eclass/kde.eclass
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Author Dan Armak <danarmak@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.63 2002/10/27 09:52:36 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.64 2002/11/01 11:16:45 danarmak Exp $
# The kde eclass is inherited by all kde-* eclasses. Few ebuilds inherit straight from here.
inherit base kde-functions
@@ -43,6 +43,16 @@ kde_src_compile() {
cd ${S}
export kde_widgetdir="$KDEDIR/lib/kde3/plugins/designer"
+ # fix the sandbox errors "can't writ to .kde or .qt" problems.
+ # this is a fake homedir that is writeable under the sandbox, so that the build process
+ # can do anything it wants with it.
+ REALHOME="$HOME"
+ mkdir -p $T/fakehome/.kde
+ mkdir -p $T/fakehome/.qt
+ export HOME="$T/fakehome"
+ # things that should access the real homedir
+ [ -d "$REALHOME/.ccache" ] && ln -sf "$REALHOME/.ccache" "$HOME/"
+
while [ "$1" ]; do
case $1 in