summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2015-06-28 17:36:43 +0200
committerMichael Palimaka <kensington@gentoo.org>2015-08-13 22:53:33 +1000
commit2abcf55a42bd91f5c83f58662ec64d746a7b1ed9 (patch)
treebc06cfdfd909ee332af6862cbb62bf93f1c7005f /eclass
parentkde5-functions.eclass: Raise minimum versions (diff)
downloadgentoo-2abcf55a42bd91f5c83f58662ec64d746a7b1ed9.tar.gz
gentoo-2abcf55a42bd91f5c83f58662ec64d746a7b1ed9.tar.bz2
gentoo-2abcf55a42bd91f5c83f58662ec64d746a7b1ed9.zip
kde5-functions.eclass: Let 9999 ebuilds depend on >=5.9999
Fixes bug 553492
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde5-functions.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass
index e1eca4d9ea91..59e2266a093f 100644
--- a/eclass/kde5-functions.eclass
+++ b/eclass/kde5-functions.eclass
@@ -188,7 +188,11 @@ add_kdeapps_dep() {
version=${PV}
elif [[ -z "${version}" ]] ; then
# In KDE applications world, 5.9999 > yy.mm.x
- [[ ${PV} = 5.9999 ]] && version=5.9999 || version=${KDE_APPS_MINIMAL}
+ if [[ ${PV} = 5.9999 || ${PV} = 9999 ]]; then
+ version=5.9999
+ else
+ version=${KDE_APPS_MINIMAL}
+ fi
fi
_add_kdecategory_dep kde-apps "${1}" "${2}" "${version}"