summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimone Gotti <motaboy@gentoo.org>2004-11-28 12:12:21 +0000
committerSimone Gotti <motaboy@gentoo.org>2004-11-28 12:12:21 +0000
commit22817665a6d6fb16d8deb149805a28c1b88a4f1c (patch)
tree05548d7dcd3a0233bbc702c367d0c77069b1a4de /eclass/kde-meta.eclass
parentAdding fixed 2.6 AF_UNIX security patch for 2.6 branch; bug #72688. (Manifest... (diff)
downloadgentoo-2-22817665a6d6fb16d8deb149805a28c1b88a4f1c.tar.gz
gentoo-2-22817665a6d6fb16d8deb149805a28c1b88a4f1c.tar.bz2
gentoo-2-22817665a6d6fb16d8deb149805a28c1b88a4f1c.zip
Set myPV and use it instead of $PV. Fixes bug #72423.
Diffstat (limited to 'eclass/kde-meta.eclass')
-rw-r--r--eclass/kde-meta.eclass13
1 files changed, 7 insertions, 6 deletions
diff --git a/eclass/kde-meta.eclass b/eclass/kde-meta.eclass
index d3d8ac9f9b34..148c6a7eec0c 100644
--- a/eclass/kde-meta.eclass
+++ b/eclass/kde-meta.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-meta.eclass,v 1.5 2004/11/24 19:19:22 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde-meta.eclass,v 1.6 2004/11/28 12:12:21 motaboy Exp $
#
# Author Dan Armak <danarmak@gentoo.org>
# Simone Gotti <simone.gotti@email.it>
@@ -19,6 +19,7 @@ fi
myPN="$KMNAME"
myP="$myPN-$PV"
+myPV="$PV"
# is this a kde-base ebuild, vs eg koffice
case "$myPN" in kde-i18n|arts|kdeaccessibility|kdeaddons|kdeadmin|kdeartwork|kdebase|kdebindings|kdeedu|kdegames|kdegraphics|kdelibs|kdemultimedia|kdenetwork|kdepim|kdesdk|kdetoys|kdeutils|kdewebdev|kdelibs-apidocs)
debug-print "$ECLASS: KDEBASE ebuild recognized"
@@ -30,7 +31,7 @@ esac
if [ "$KDEBASE" = "true" ]; then
unset SRC_URI
- need-kde $PV
+ need-kde $myPV
DESCRIPTION="KDE ${myPV} - "
HOMEPAGE="http://www.kde.org/"
@@ -38,7 +39,7 @@ if [ "$KDEBASE" = "true" ]; then
SLOT="$KDEMAJORVER.$KDEMINORVER"
# Main tarball for normal downloading style
- case "$PV" in
+ case "$myPV" in
3.3.0) SRC_PATH="stable/3.3/src/${myP}.tar.bz2" ;;
3*) SRC_PATH="stable/${myPV}/src/${myP}.tar.bz2" ;;
5) SRC_URI="" # cvs ebuilds, no SRC_URI needed
@@ -49,7 +50,7 @@ if [ "$KDEBASE" = "true" ]; then
# Base tarball and xdeltas for patch downloading style
# Note that we use XDELTA_BASE, XDELTA_DELTA again in src_unpack()
# For future versions, add all applicable xdeltas (from x.y.0) in correct order to XDELTA_DELTA
- case "$PV" in
+ case "$myPV" in
3.3.0) XDELTA_BASE="stable/3.3/src/${myP}.tar.bz2"
XDELTA_DELTA=""
;;
@@ -61,8 +62,8 @@ if [ "$KDEBASE" = "true" ]; then
esac
elif [ "$KMNAME" == "koffice" ]; then
- SRC_PATH="mirror://kde/stable/koffice-$PV/src/koffice-$PV.tar.bz2"
- case $PV in
+ SRC_PATH="mirror://kde/stable/koffice-$myPV/src/koffice-$myPV.tar.bz2"
+ case $myPV in
1.3.4)
XDELTA_BASE=""
XDELTA_DELTA=""