diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-09-05 19:52:52 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-09-06 18:45:36 +0200 |
commit | deb9c16acf7d2e1d5eeb838bde8c2073f9cb6e7f (patch) | |
tree | 7a0b801087c638e2f842ee7053a05a0f5ce4d086 /dev-util/cmake | |
parent | dev-util/cmake: Tolerate nullptr from uv_default_loop (diff) | |
download | gentoo-deb9c16acf7d2e1d5eeb838bde8c2073f9cb6e7f.tar.gz gentoo-deb9c16acf7d2e1d5eeb838bde8c2073f9cb6e7f.tar.bz2 gentoo-deb9c16acf7d2e1d5eeb838bde8c2073f9cb6e7f.zip |
dev-util/cmake: Detect if system cmake binary is broken
cmake binary can be broken if FEATURES="-preserve-libs" is set.
Bug: https://bugs.gentoo.org/720230
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-util/cmake')
-rw-r--r-- | dev-util/cmake/cmake-3.18.2.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-util/cmake/cmake-3.18.2.ebuild b/dev-util/cmake/cmake-3.18.2.ebuild index c09e035ef01f..3e9f38a6689b 100644 --- a/dev-util/cmake/cmake-3.18.2.ebuild +++ b/dev-util/cmake/cmake-3.18.2.ebuild @@ -139,7 +139,7 @@ src_prepare() { -e "$(usex prefix-guest "s|@GENTOO_HOST@||" "/@GENTOO_HOST@/d")" \ -e "s|@GENTOO_PORTAGE_EPREFIX@|${EPREFIX}/|g" \ Modules/Platform/{UnixPaths,Darwin}.cmake || die "sed failed" - if ! has_version -b \>=${CATEGORY}/${PN}-3.4.0_rc1 ; then + if ! has_version -b \>=${CATEGORY}/${PN}-3.4.0_rc1 || ! cmake --version &>/dev/null ; then CMAKE_BINARY="${S}/Bootstrap.cmk/cmake" cmake_src_bootstrap fi |