ecm.eclass: Fix kde-frameworks/ minimum to major.minor of PV
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 15 Dec 2019 17:03:05 +0000 (18:03 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 15 Dec 2019 17:04:06 +0000 (18:04 +0100)
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
eclass/ecm.eclass

index ddfe92c1d0b9b9a3ec36a56a7209d44068fc22fa..1616df9aab57086da012e740e5e3f016ce7b32d1 100644 (file)
@@ -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}