git: 98c25a5a1f8d - main - biology/mmseqs2: Fix building with CMake 4

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Wed, 14 Oct 2026 17:55:21 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=98c25a5a1f8d1e9596499f373a260a191316f143

commit 98c25a5a1f8d1e9596499f373a260a191316f143
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-10-14 17:54:57 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-10-14 17:55:08 +0000

    biology/mmseqs2: Fix building with CMake 4
---
 biology/mmseqs2/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/biology/mmseqs2/Makefile b/biology/mmseqs2/Makefile
index 45d47211b576..c5d239056443 100644
--- a/biology/mmseqs2/Makefile
+++ b/biology/mmseqs2/Makefile
@@ -20,7 +20,8 @@ USE_PERL5=	build
 
 SHEBANG_GLOB=	*.sh
 
-CMAKE_ARGS+=	-DVERSION_OVERRIDE=${DISTVERSION}
+CMAKE_ARGS+=	-DVERSION_OVERRIDE=${DISTVERSION} \
+		-DCMAKE_POLICY_VERSION_MINIMUM=3.5
 CMAKE_ON=	DISABLE_IPS4O USE_SYSTEM_ZSTD
 
 LDFLAGS+=	-lpthread