git: 11b5c2704c90 - main - devel/kf5-threadweaver: Fix building with CMake 4

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sat, 12 Sep 2026 13:34:12 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=11b5c2704c906ea33d4a520c00c96b6e9bfd053b

commit 11b5c2704c906ea33d4a520c00c96b6e9bfd053b
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-09-12 13:32:51 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-09-12 13:33:07 +0000

    devel/kf5-threadweaver: Fix building with CMake 4
---
 devel/kf5-threadweaver/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/devel/kf5-threadweaver/Makefile b/devel/kf5-threadweaver/Makefile
index bdbbe267871a..c24f4f4c6113 100644
--- a/devel/kf5-threadweaver/Makefile
+++ b/devel/kf5-threadweaver/Makefile
@@ -10,4 +10,6 @@ USE_KDE=	ecm:build
 USE_QT=		core widgets xml \
 		buildtools:build qmake:build testlib:build
 
+CMAKE_ARGS=	-DCMAKE_POLICY_VERSION_MINIMUM=3.5
+
 .include <bsd.port.mk>