diff options
author | Carsten Lohrke <carlo@gentoo.org> | 2006-08-23 15:13:41 +0000 |
---|---|---|
committer | Carsten Lohrke <carlo@gentoo.org> | 2006-08-23 15:13:41 +0000 |
commit | 2e8802f727d45e60e4f6ef22b19bed7d8e78a03a (patch) | |
tree | 149188cddf4c962786dec90ab870407a68a5141e /eclass/kde.eclass | |
parent | Back to ~x86 with the new fox layout unmasked. Pruned old ebuiÃld. (diff) | |
download | gentoo-2-2e8802f727d45e60e4f6ef22b19bed7d8e78a03a.tar.gz gentoo-2-2e8802f727d45e60e4f6ef22b19bed7d8e78a03a.tar.bz2 gentoo-2-2e8802f727d45e60e4f6ef22b19bed7d8e78a03a.zip |
Do not call kde-config, when kdelibs is possibly not installed yet. :/
Diffstat (limited to 'eclass/kde.eclass')
-rw-r--r-- | eclass/kde.eclass | 7 |
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 |