summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2002-09-10 18:49:32 +0000
committerDan Armak <danarmak@gentoo.org>2002-09-10 18:49:32 +0000
commit474614f4f24997580eb0afebd7bd423a67faa37a (patch)
tree1335d346470aa7ff92989752d6e97041d0b1eb5f /eclass
parentadded ppc to keywords (diff)
downloadhistorical-474614f4f24997580eb0afebd7bd423a67faa37a.tar.gz
historical-474614f4f24997580eb0afebd7bd423a67faa37a.tar.bz2
historical-474614f4f24997580eb0afebd7bd423a67faa37a.zip
allow kde-base 3.0.3 packages to use kdelibs =3.0.3* and not just ~3.0.3, because of the new kdelibs 3.0.3a
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde-functions.eclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/kde-functions.eclass b/eclass/kde-functions.eclass
index 226aa7e430e5..2e67f2f00786 100644
--- a/eclass/kde-functions.eclass
+++ b/eclass/kde-functions.eclass
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Dan Armak <danarmak@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde-functions.eclass,v 1.29 2002/09/07 20:09:57 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde-functions.eclass,v 1.30 2002/09/10 18:49:32 danarmak Exp $
# This contains everything except things that modify ebuild variables and functions (e.g. $P, src_compile() etc.)
ECLASS=kde-functions
INHERITED="$INHERITED $ECLASS"
@@ -54,7 +54,13 @@ need-kde() {
# if we're a kde-base package, we need an exact version of kdelibs
# to compile correctly.
if [ "${INHERITED//kde-dist}" != "$INHERITED" ]; then
+ # kde 3.0.3 is a special case: it has kdelibs-3.0.3a.
+ # goes to show this code is awfully inflexible, i guess.
+ if [ "$PV" == "3.0.3" ]; then
+ newdepend "=kde-base/kdelibs-3.0.3*"
+ else
newdepend "~kde-base/kdelibs-${KDEVER}"
+ fi
elif [ -n "$KDEAPPENDAGE" ]; then
# special status - installs into $KDEDIR not $PREFIX
# and needs an exact minor version of kde.