kde5-functions.eclass: Cleanup _add_category_dep slot def
authorAndreas Sturmlechner <asturm@gentoo.org>
Wed, 30 Jan 2019 21:52:58 +0000 (22:52 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Thu, 7 Feb 2019 12:59:54 +0000 (13:59 +0100)
There's no SLOT 4 for a long time.

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
eclass/kde5-functions.eclass

index 1d0a0ffb3236b7990b8dd0da1fa3dcb6d8bbd3da..895db2968ccdb11694f9796952ff8c2a70f3a644 100644 (file)
@@ -138,7 +138,7 @@ _add_category_dep() {
 
        if [[ -n ${slot} ]] ; then
                slot=":${slot}"
-       elif [[ ${SLOT%\/*} = 4 || ${SLOT%\/*} = 5 ]] && ! has kde5-meta-pkg ${INHERITED} ; then
+       elif [[ ${SLOT%\/*} = 5 ]] ; then
                slot=":${SLOT%\/*}"
        fi