git: fa1b373bf405 - main - biology/kallisto: Fix building with CMake 4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 08 Sep 2026 19:10:57 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fa1b373bf40523b7ab5efd66758706cfe439af70
commit fa1b373bf40523b7ab5efd66758706cfe439af70
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-09-08 19:09:18 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-09-08 19:09:56 +0000
biology/kallisto: Fix building with CMake 4
Approved by: portmgr (fixit blanket)
---
biology/kallisto/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/biology/kallisto/Makefile b/biology/kallisto/Makefile
index 16751e9f67b4..50805d2b992c 100644
--- a/biology/kallisto/Makefile
+++ b/biology/kallisto/Makefile
@@ -37,6 +37,8 @@ CMAKE_ARGS+= -DUSE_HDF5:BOOL=ON -DUSE_BAM:BOOL=ON
# WIP: Remove before committing
CMAKE_ARGS+= -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
CMAKE_ARGS+= -DLOCALBASE:STRING=${LOCALBASE}
+# https://github.com/pachterlab/kallisto/pull/513
+CMAKE_ARGS+= -DCMAKE_POLICY_VERSION_MINIMUM=3.5
MAKE_JOBS_UNSAFE= yes
CXXFLAGS+= -Wno-unqualified-std-cast-call
LDFLAGS+= -lhdf5 -lhts -lz