summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2006-08-23 15:13:41 +0000
committerCarsten Lohrke <carlo@gentoo.org>2006-08-23 15:13:41 +0000
commitc530029a7c9db2b6b4b6008e5af638831aeabf0c (patch)
tree614736c6ebc2b2e54d20e381bf40c98a43de2ca3 /eclass/kde.eclass
parentBack to ~x86 with the new fox layout unmasked. Pruned old ebuiÃld. (diff)
downloadhistorical-c530029a7c9db2b6b4b6008e5af638831aeabf0c.tar.gz
historical-c530029a7c9db2b6b4b6008e5af638831aeabf0c.tar.bz2
historical-c530029a7c9db2b6b4b6008e5af638831aeabf0c.zip
Do not call kde-config, when kdelibs is possibly not installed yet. :/
Diffstat (limited to 'eclass/kde.eclass')
-rw-r--r--eclass/kde.eclass7
1 files changed, 3 insertions, 4 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass
index 310a45785b65..6f854ded5e66 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.176 2006/08/21 18:22:52 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.177 2006/08/23 15:13:41 carlo Exp $
#
# Author Dan Armak <danarmak@gentoo.org>
#
@@ -363,14 +363,13 @@ kde_src_install() {
if [[ -n ${KDEBASE} ]] && [[ "${PN}" != "arts" ]] ; then
# work around bug #97196
- mv ${D}/usr/share/doc/* "${D}/$(kde-config --expandvars --install html)/../"
+ mv ${D}/usr/share/doc/* "${D}/${KDEDIR}/share/doc/"
fi
}
# slot rebuild function, thanks to Carsten Lohrke in bug 98425.
slot_rebuild() {
local VDB_PATH="$(portageq vdb_path)"
- local KDE_PREFIX="$(kde-config --prefix)"
local REBUILD_LIST=""
local BROKEN_PKGS=""
@@ -395,7 +394,7 @@ slot_rebuild() {
eerror "Installation of ${j/${VDB_PATH}\//} is broken."
BROKEN_PKGS="${BROKEN_PKGS} ${j/${VDB_PATH}\//}"
else
- if [[ $(cat ${m} | grep -co "${KDE_PREFIX}") = 0 ]] ; then
+ if [[ $(cat ${m} | grep -co "${KDEDIR}") = 0 ]] ; then
REBUILD_LIST="${REBUILD_LIST} =${j/${VDB_PATH}\//}"
fi
fi