From: Andreas Sturmlechner Date: Wed, 30 Jan 2019 21:52:58 +0000 (+0100) Subject: kde5-functions.eclass: Cleanup _add_category_dep slot def X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=9de207dd7e6074532e5fc104c8c3aff257141191;p=gentoo.git kde5-functions.eclass: Cleanup _add_category_dep slot def There's no SLOT 4 for a long time. Signed-off-by: Andreas Sturmlechner --- diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass index 1d0a0ffb3236..895db2968ccd 100644 --- a/eclass/kde5-functions.eclass +++ b/eclass/kde5-functions.eclass @@ -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