summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2004-01-05 03:24:34 +0000
committerCaleb Tennis <caleb@gentoo.org>2004-01-05 03:24:34 +0000
commitfa2081b5cd7fc046b3d7acbc5c158a1b55d9a472 (patch)
tree14856d3714be7c4e415cd3539ade6a389bed174c /eclass
parenti suck at life, deal (diff)
downloadhistorical-fa2081b5cd7fc046b3d7acbc5c158a1b55d9a472.tar.gz
historical-fa2081b5cd7fc046b3d7acbc5c158a1b55d9a472.tar.bz2
historical-fa2081b5cd7fc046b3d7acbc5c158a1b55d9a472.zip
Move the deps around to be a little more pleasant to look at - add the addwrite for the qtdir/etc/settings directory. Hopefully this fixes any problem people have and doesn't create any in the process
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde.eclass16
1 files changed, 8 insertions, 8 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass
index 788686a29fd7..1fd0fe7b7e31 100644
--- a/eclass/kde.eclass
+++ b/eclass/kde.eclass
@@ -1,9 +1,10 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.85 2003/12/30 22:54:59 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.86 2004/01/05 03:24:34 caleb Exp $
#
# Author Dan Armak <danarmak@gentoo.org>
#
+# Revisions Caleb Tennis <caleb@gentoo.org>
# The kde eclass is inherited by all kde-* eclasses. Few ebuilds inherit straight from here.
inherit base kde-functions
@@ -13,13 +14,11 @@ INHERITED="$INHERITED $ECLASS"
DESCRIPTION="Based on the $ECLASS eclass"
HOMEPAGE="http://www.kde.org/"
-# deps on the build tools
-if [ -n "$KDEBASE" -a -n "`use ppc`" -a "${PV//3.1}" != "$PV" ]; then
- DEPEND="$DEPEND >=sys-devel/automake-1.7.0"
-else
- DEPEND="$DEPEND sys-devel/automake"
-fi
-DEPEND="$DEPEND sys-devel/autoconf sys-devel/make dev-lang/perl" # perl is used for makefile generation
+DEPEND=">=sys-devel/automake-1.7.0
+ sys-devel/autoconf
+ sys-devel/make
+ dev-util/pkgconfig
+ dev-lang/perl" # perl is used for makefile generation
# all kde apps need this one
newdepend "~kde-base/kde-env-3"
@@ -71,6 +70,7 @@ kde_src_compile() {
mkdir -p $T/fakehome/.kde
mkdir -p $T/fakehome/.qt
export HOME="$T/fakehome"
+ addwrite "${QTDIR}/etc/settings"
# things that should access the real homedir
[ -d "$REALHOME/.ccache" ] && ln -sf "$REALHOME/.ccache" "$HOME/"