summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <jcallen@gentoo.org>2011-06-06 21:38:18 +0000
committerJonathan Callen <jcallen@gentoo.org>2011-06-06 21:38:18 +0000
commit6428b1b29e7409501e9f6ab3af9db896a094285a (patch)
treed58823f497f80b5657bbcbd202660c6f62e471ed /eclass/kde4-meta-pkg.eclass
parentVersion bump. (diff)
downloadhistorical-6428b1b29e7409501e9f6ab3af9db896a094285a.tar.gz
historical-6428b1b29e7409501e9f6ab3af9db896a094285a.tar.bz2
historical-6428b1b29e7409501e9f6ab3af9db896a094285a.zip
Goodbye kdeprefix (for >= 4.6.4)
Remove all usage of the kdeprefix flag that doesn't die immediately; remove the flag itself on >= 4.6.4
Diffstat (limited to 'eclass/kde4-meta-pkg.eclass')
-rw-r--r--eclass/kde4-meta-pkg.eclass10
1 files changed, 8 insertions, 2 deletions
diff --git a/eclass/kde4-meta-pkg.eclass b/eclass/kde4-meta-pkg.eclass
index 1352a64fc603..2ed377e8c680 100644
--- a/eclass/kde4-meta-pkg.eclass
+++ b/eclass/kde4-meta-pkg.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-meta-pkg.eclass,v 1.2 2011/04/06 15:56:32 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-meta-pkg.eclass,v 1.3 2011/06/06 21:38:18 abcd Exp $
# @ECLASS: kde4-meta-pkg.eclass
# @MAINTAINER:
@@ -14,7 +14,13 @@ inherit kde4-functions versionator
HOMEPAGE="http://www.kde.org/"
LICENSE="GPL-2"
-IUSE="aqua kdeprefix"
+IUSE="aqua"
+
+# Only add the kdeprefix USE flag for older versions, to help
+# non-portage package managers handle the upgrade
+if [[ ${PV} < 4.6.4 ]]; then
+ IUSE+=" kdeprefix"
+fi
SLOT=$(_calculate_kde_slot)
[[ -z ${SLOT} ]] && die "Unsupported ${PV}"