commit: f527c122d42327668756e73ea831ca0345410e75 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sun Oct 5 14:12:29 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sun Oct 5 17:44:06 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f527c122
sci-biology/uchime: Fix build w/ cmake-4 Raise cmake_minimum_required to 3.31 Closes: https://bugs.gentoo.org/957440 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> sci-biology/uchime/files/CMakeLists.patch | 2 +- sci-biology/uchime/uchime-4.2.40-r1.ebuild | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/sci-biology/uchime/files/CMakeLists.patch b/sci-biology/uchime/files/CMakeLists.patch index c33af8c7e827..36b2b39ca5c6 100644 --- a/sci-biology/uchime/files/CMakeLists.patch +++ b/sci-biology/uchime/files/CMakeLists.patch @@ -1,7 +1,7 @@ --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,18 @@ -+cmake_minimum_required(VERSION 2.8.12) ++cmake_minimum_required(VERSION 3.31) +project(UCHIME LANGUAGES CXX) + +include(GNUInstallDirs) diff --git a/sci-biology/uchime/uchime-4.2.40-r1.ebuild b/sci-biology/uchime/uchime-4.2.40-r1.ebuild index 9742ee2575fc..348d8106d270 100644 --- a/sci-biology/uchime/uchime-4.2.40-r1.ebuild +++ b/sci-biology/uchime/uchime-4.2.40-r1.ebuild @@ -1,11 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit cmake - MY_P="${PN}${PV}_src" +inherit cmake DESCRIPTION="Fast, accurate chimera detection" HOMEPAGE="https://www.drive5.com/usearch/manual/uchime_algo.html" @@ -16,4 +15,6 @@ LICENSE="public-domain" SLOT="0" KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux" +BDEPEND=">=dev-build/cmake-3.31" + PATCHES=( "${FILESDIR}"/CMakeLists.patch )
