commit: e4640674ee8579dfa2c330c94cc737a1ec41de37 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sat May 20 20:18:37 2023 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sat May 20 20:18:37 2023 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=e4640674
ecm.eclass: Need to exclude KDE Frameworks 5.9999 from KFMIN>=5.240 check Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> eclass/ecm.eclass | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/eclass/ecm.eclass b/eclass/ecm.eclass index fdd5ba92b8..542993b6ec 100644 --- a/eclass/ecm.eclass +++ b/eclass/ecm.eclass @@ -156,8 +156,14 @@ fi # @DESCRIPTION: # KDE Frameworks and Qt slot dependency, implied by KFMIN version. : "${_KFSLOT:=5}" -if [[ ${KFMIN/.*} == 6 ]] || $(ver_test ${KFMIN} -ge 5.240); then - _KFSLOT=6 +if [[ ${CATEGORY} == kde-frameworks ]]; then + if [[ ${PV} != 5.9999 ]] && $(ver_test ${KFMIN} -ge 5.240); then + _KFSLOT=6 + fi +else + if [[ ${KFMIN/.*} == 6 ]] || $(ver_test ${KFMIN} -ge 5.240); then + _KFSLOT=6 + fi fi case ${ECM_NONGUI} in