diff options
author | Dan Armak <danarmak@gentoo.org> | 2002-09-10 18:49:32 +0000 |
---|---|---|
committer | Dan Armak <danarmak@gentoo.org> | 2002-09-10 18:49:32 +0000 |
commit | f4c3d4eacb00a826e02aaee537b0dbbeeee0c2b7 (patch) | |
tree | a55f10fed4fe091420125d2e2b627101119741cf /eclass/kde-functions.eclass | |
parent | added ppc to keywords (diff) | |
download | gentoo-2-f4c3d4eacb00a826e02aaee537b0dbbeeee0c2b7.tar.gz gentoo-2-f4c3d4eacb00a826e02aaee537b0dbbeeee0c2b7.tar.bz2 gentoo-2-f4c3d4eacb00a826e02aaee537b0dbbeeee0c2b7.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/kde-functions.eclass')
-rw-r--r-- | eclass/kde-functions.eclass | 8 |
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. |