commit:     06009685e315e4c2656336d064e0af305996c123
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri May 18 23:06:51 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri May 18 23:06:51 2018 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=06009685

cmake-utils.eclass: version_is_at_least -> ver_test

 eclass/cmake-utils.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass
index cbce280625..558ff3a1ef 100644
--- a/eclass/cmake-utils.eclass
+++ b/eclass/cmake-utils.eclass
@@ -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 $(ver_cut 1-3 ${PV})) ; then
+               if $(ver_test $(ver_cut 1-3 ${PV}) -ge 3.4.0) ; then
                        includes="<INCLUDES>"
                fi
        elif ROOT=/ has_version \>=dev-util/cmake-3.4.0_rc1 ; then

Reply via email to