From 9960c203f2d749e96c76917316606286412e73d2 Mon Sep 17 00:00:00 2001 From: Dan Armak Date: Sun, 27 Oct 2002 09:52:36 +0000 Subject: [PATCH] set KDEDIRS=$KDEDIR:$PREFIX before running configure. this fixes the cases where it uses the wrong kde"s dcopidl, mcopidl etc. because of the way it searches for binaries. --- eclass/kde.eclass | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/eclass/kde.eclass b/eclass/kde.eclass index adfbe055ede7..bb92733a859c 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 -# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.62 2002/10/25 19:55:52 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.63 2002/10/27 09:52:36 danarmak Exp $ # The kde eclass is inherited by all kde-* eclasses. Few ebuilds inherit straight from here. inherit base kde-functions @@ -73,6 +73,11 @@ kde_src_compile() { fi export PATH="${KDEDIR}/bin:${PATH}" + + # configure doesn't need to know about the other KDEs installed. + # in fact, if it does, it sometimes tries to use the wrong dcopidl, etc. + # due to the messed up way configure searches for things + export KDEDIRS="${PREFIX}:${KDEDIR}" cd $S ./configure ${myconf} || die "died running ./configure, $FUNCNAME:configure" -- 2.26.2