summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-05-19 01:06:15 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-05-19 01:06:15 +0200
commitc67f7e554c4f67af88a941e87d79a1b9b7cb58fc (patch)
treedbd95ca72d94cf34789296b719521141f5069402 /eclass/cmake-utils.eclass
parentmysql-cmake.eclass: inherit versionator (diff)
downloadgentoo-c67f7e554c4f67af88a941e87d79a1b9b7cb58fc.tar.gz
gentoo-c67f7e554c4f67af88a941e87d79a1b9b7cb58fc.tar.bz2
gentoo-c67f7e554c4f67af88a941e87d79a1b9b7cb58fc.zip
cmake-utils.eclass: version_is_at_least -> ver_test
Diffstat (limited to 'eclass/cmake-utils.eclass')
-rw-r--r--eclass/cmake-utils.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass
index cbce280625ef..558ff3a1ef9b 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