summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimone Gotti <motaboy@gentoo.org>2004-12-13 00:43:01 +0000
committerSimone Gotti <motaboy@gentoo.org>2004-12-13 00:43:01 +0000
commitc7a42334a797774f8ca79926c4e92d921287a85e (patch)
treed44deb381ce322df11aae8d951c7a39f5c2ad242 /eclass/kde-functions.eclass
parentFix up kernel_is() calls, thanks to Georgi Georgiev <chutz@gg3.net>. (Manifes... (diff)
downloadgentoo-2-c7a42334a797774f8ca79926c4e92d921287a85e.tar.gz
gentoo-2-c7a42334a797774f8ca79926c4e92d921287a85e.tar.bz2
gentoo-2-c7a42334a797774f8ca79926c4e92d921287a85e.zip
Add kde 3.4 support.
Diffstat (limited to 'eclass/kde-functions.eclass')
-rw-r--r--eclass/kde-functions.eclass8
1 files changed, 5 insertions, 3 deletions
diff --git a/eclass/kde-functions.eclass b/eclass/kde-functions.eclass
index 422f169b21b6..1e27ed83ff06 100644
--- a/eclass/kde-functions.eclass
+++ b/eclass/kde-functions.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-functions.eclass,v 1.75 2004/11/19 17:18:00 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde-functions.eclass,v 1.76 2004/12/13 00:43:01 motaboy Exp $
#
# Author Dan Armak <danarmak@gentoo.org>
#
@@ -166,6 +166,7 @@ set-kdedir() {
3.1) export PREFIX="/usr/kde/3.1";;
3.2) export PREFIX="/usr/kde/3.2";;
3.3) export PREFIX="/usr/kde/3.3";;
+ 3.4) export PREFIX="/usr/kde/3.4";;
5.0) export PREFIX="/usr/kde/cvs";;
esac
fi
@@ -179,7 +180,7 @@ set-kdedir() {
else
if [ -z "$KDEBASE" ]; then
# find the latest kdelibs installed
- for x in /usr/kde/{cvs,3.3,3.2,3.1,3.0,3} $PREFIX $KDE3LIBSDIR $KDELIBSDIR $KDE3DIR $KDEDIR /usr/kde/*; do
+ for x in /usr/kde/{cvs,3.4,3.3,3.2,3.1,3.0,3} $PREFIX $KDE3LIBSDIR $KDELIBSDIR $KDE3DIR $KDEDIR /usr/kde/*; do
if [ -f "${x}/include/kwin.h" ]; then
debug-print found
export KDEDIR="$x"
@@ -187,12 +188,13 @@ set-kdedir() {
fi
done
else
- # kde-base ebuilds msut always use the exact version of kdelibs they came with
+ # kde-base ebuilds must always use the exact version of kdelibs they came with
case $KDEMAJORVER.$KDEMINORVER in
3.0) export KDEDIR="/usr/kde/3";;
3.1) export KDEDIR="/usr/kde/3.1";;
3.2) export KDEDIR="/usr/kde/3.2";;
3.3) export KDEDIR="/usr/kde/3.3";;
+ 3.4) export KDEDIR="/usr/kde/3.4";;
5.0) export KDEDIR="/usr/kde/cvs";;
esac
fi