kde5-functions.eclass: Let 9999 ebuilds depend on >=5.9999
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>
Sun, 28 Jun 2015 15:36:43 +0000 (17:36 +0200)
committerMichael Palimaka <kensington@gentoo.org>
Thu, 13 Aug 2015 12:53:33 +0000 (22:53 +1000)
Fixes bug 553492

eclass/kde5-functions.eclass

index e1eca4d9ea91b982663119112a08c43c1ee35993..59e2266a093f556b5de1c30715748cdb025bda25 100644 (file)
@@ -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}"