diff options
author | 2011-06-06 21:38:18 +0000 | |
---|---|---|
committer | 2011-06-06 21:38:18 +0000 | |
commit | 9663d3a6b7608b7a1c8586a71b8768bbcf075c8c (patch) | |
tree | 41436a883959d9fd55a057672c8d62561f995013 /eclass/kde4-meta-pkg.eclass | |
parent | Version bump. (diff) | |
download | gentoo-2-9663d3a6b7608b7a1c8586a71b8768bbcf075c8c.tar.gz gentoo-2-9663d3a6b7608b7a1c8586a71b8768bbcf075c8c.tar.bz2 gentoo-2-9663d3a6b7608b7a1c8586a71b8768bbcf075c8c.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.eclass | 10 |
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}" |