commit: 531600e06867997a4c6c8494a20db02897fd2d4a
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 15 17:03:05 2019 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Dec 15 17:04:06 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=531600e0
ecm.eclass: Fix kde-frameworks/ minimum to major.minor of PV
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
eclass/ecm.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/ecm.eclass b/eclass/ecm.eclass
index ddfe92c1d0b..1616df9aab5 100644
--- a/eclass/ecm.eclass
+++ b/eclass/ecm.eclass
@@ -159,7 +159,7 @@ fi
# changed unless we also bump EAPI, which usually implies (rev-)bumping.
# Version will later be used to differentiate between KF5/Qt5 and KF6/Qt6.
if [[ ${CATEGORY} = kde-frameworks ]]; then
- : ${KFMIN:=${PV}}
+ : ${KFMIN:=$(ver_cut 1-2)}
fi
: ${KFMIN:=5.64.0}