From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 42EA71384B4 for ; Wed, 9 Dec 2015 15:13:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C7F4F21C0B3; Wed, 9 Dec 2015 15:13:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6B2CF21C0B3 for ; Wed, 9 Dec 2015 15:13:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3BDB233BEE9 for ; Wed, 9 Dec 2015 15:13:32 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0BD44C6A for ; Wed, 9 Dec 2015 15:13:30 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1449673997.f898baed4661e93c2686e34baf46068b14066244.kensington@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: eclass/ X-VCS-Repository: proj/kde X-VCS-Files: eclass/cmake-utils.eclass X-VCS-Directories: eclass/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: f898baed4661e93c2686e34baf46068b14066244 X-VCS-Branch: master Date: Wed, 9 Dec 2015 15:13:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: bb64176c-a18c-462f-9dac-396b039cd630 X-Archives-Hash: 8504f51941ff3d8b2b53b708a9509169 commit: f898baed4661e93c2686e34baf46068b14066244 Author: Daniel Scharrer constexpr org> AuthorDate: Fri Dec 4 23:27:08 2015 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Wed Dec 9 15:13:17 2015 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=f898baed cmake-utils.eclass: Fix cross-compiling with cmake-3.4 We are interested in the CMake version on the host system, the sysroot might not even have CMake installed at all. 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 dd46275..d5d06c5 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -485,7 +485,7 @@ enable_cmake-utils_src_configure() { if $(version_is_at_least 3.4.0 $(get_version_component_range 1-3 ${PV})) ; then includes="" fi - elif has_version \>=dev-util/cmake-3.4.0_rc1 ; then + elif ROOT=/ has_version \>=dev-util/cmake-3.4.0_rc1 ; then includes="" fi cat > "${build_rules}" <<- _EOF_ || die