commit:     2abcf55a42bd91f5c83f58662ec64d746a7b1ed9
Author:     Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Sun Jun 28 15:36:43 2015 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Aug 13 12:53:33 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2abcf55a

kde5-functions.eclass: Let 9999 ebuilds depend on >=5.9999

Fixes bug 553492

 eclass/kde5-functions.eclass | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass
index e1eca4d..59e2266 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}"

Reply via email to