summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2002-10-27 09:52:36 +0000
committerDan Armak <danarmak@gentoo.org>2002-10-27 09:52:36 +0000
commit9960c203f2d749e96c76917316606286412e73d2 (patch)
treee1f0c9b7403274060829ed1728482b9457fab23a /eclass/kde.eclass
parentnew package: GNU Prolog (diff)
downloadhistorical-9960c203f2d749e96c76917316606286412e73d2.tar.gz
historical-9960c203f2d749e96c76917316606286412e73d2.tar.bz2
historical-9960c203f2d749e96c76917316606286412e73d2.zip
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.
Diffstat (limited to 'eclass/kde.eclass')
-rw-r--r--eclass/kde.eclass7
1 files changed, 6 insertions, 1 deletions
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 <danarmak@gentoo.org>
-# $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"