git: 688bd82aedbf - main - devel/shiboken2: Fix building with CMake 4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 27 Sep 2026 09:55:55 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=688bd82aedbf93c49249b06bb58a7e24fdbc5b32
commit 688bd82aedbf93c49249b06bb58a7e24fdbc5b32
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-09-27 09:54:27 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-09-27 09:54:39 +0000
devel/shiboken2: Fix building with CMake 4
---
devel/shiboken2/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/devel/shiboken2/Makefile b/devel/shiboken2/Makefile
index e1599cf5047c..eab3fa1a2fd3 100644
--- a/devel/shiboken2/Makefile
+++ b/devel/shiboken2/Makefile
@@ -30,7 +30,8 @@ CMAKE_ARGS+= "-DCMAKE_CXX_FLAGS=-lexecinfo" \
"-DCMAKE_STANDARD_LIBRARIES=-lexecinfo" \
"-DCMAKE_CXX_STANDARD_LIBRARIES=-lexecinfo" \
"-DUSE_PYTHON_VERSION=${PYTHON_VER}" \
- "-DLLVM_CONFIG=${LLVM_CONFIG}"
+ "-DLLVM_CONFIG=${LLVM_CONFIG}" \
+ "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
PLIST_SUB+= DISTVERSION=${DISTVERSION}
PLIST_SUB+= PYVERSTR=.cpython-${PYTHON_SUFFIX}${PYTHON_ABIVER}