commit: 1720b64eb22950db744a0bfe2e8726457d7b3819
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu May 10 20:42:15 2018 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun May 13 22:47:47 2018 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=1720b64e
cmake-utils.eclass: Switch to eapi7-ver
eclass/cmake-utils.eclass | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass
index 3302f27608..cbce280625 100644
--- a/eclass/cmake-utils.eclass
+++ b/eclass/cmake-utils.eclass
@@ -109,11 +109,11 @@ case ${EAPI} in
*) die "EAPI=${EAPI:-0} is not supported" ;;
esac
-inherit toolchain-funcs ninja-utils flag-o-matic multiprocessing versionator
xdg-utils
+inherit toolchain-funcs ninja-utils flag-o-matic multiprocessing xdg-utils
case ${EAPI} in
7) ;;
- *) inherit eutils multilib ;;
+ *) inherit eapi7-ver eutils multilib ;;
esac
EXPORT_FUNCTIONS src_prepare src_configure src_compile src_test src_install
@@ -512,7 +512,7 @@ cmake-utils_src_configure() {
# we need to add "<INCLUDES>"
local includes=
if [[ ${PN} == cmake ]] ; then
- if $(version_is_at_least 3.4.0 $(get_version_component_range
1-3 ${PV})) ; then
+ if $(version_is_at_least 3.4.0 $(ver_cut 1-3 ${PV})) ; then
includes="<INCLUDES>"
fi
elif ROOT=/ has_version \>=dev-util/cmake-3.4.0_rc1 ; then