diff options
author | Marcus D. Hanwell <cryos@gentoo.org> | 2008-10-11 21:31:19 +0000 |
---|---|---|
committer | Marcus D. Hanwell <cryos@gentoo.org> | 2008-10-11 21:31:19 +0000 |
commit | 06200b1442f0cab3529b617e356746b52fed87ab (patch) | |
tree | 5c24c8087ba389a05411f31341bb622edc3cb448 /eclass/kde.eclass | |
parent | Added a dep on kdelibs[semantic-desktop]. (diff) | |
download | gentoo-2-06200b1442f0cab3529b617e356746b52fed87ab.tar.gz gentoo-2-06200b1442f0cab3529b617e356746b52fed87ab.tar.bz2 gentoo-2-06200b1442f0cab3529b617e356746b52fed87ab.zip |
Export PATH with KDEDIR first before calling configure or make. Fixes
bug 238027.
Diffstat (limited to 'eclass/kde.eclass')
-rw-r--r-- | eclass/kde.eclass | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass index 603ef8a2e8d6..3076d689418c 100644 --- a/eclass/kde.eclass +++ b/eclass/kde.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.221 2008/10/06 12:49:43 jmbsvicetto Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.222 2008/10/11 21:31:19 cryos Exp $ # @ECLASS: kde.eclass # @MAINTAINER: @@ -378,6 +378,8 @@ EOF myconf="${myconf} --enable-libsuffix=$(get_libdir | sed s/lib//)" fi + export PATH="${KDEDIR}/bin:${PATH}" + # The configure checks for kconfig_compiler do not respect PATH export KCONFIG_COMPILER="${KDEDIR}/bin/kconfig_compiler" @@ -407,7 +409,6 @@ EOF fi ;; make) - export PATH="${KDEDIR}/bin:${PATH}" debug-print-section make emake || die "died running emake, $FUNCNAME:make" ;; @@ -438,6 +439,9 @@ kde_src_install() { [[ -z ${KDE_S} ]] && KDE_S="${S}" cd "${KDE_S}" + # Ensure that KDE binaries take precedence + export PATH="${KDEDIR}/bin:${PATH}" + while [[ "$1" ]]; do case $1 in |