git: fe8d120f6317 - main - security/keepassxc276: Fix build with CMake 4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Oct 2026 19:24:00 UTC
The branch main has been updated by lwhsu:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fe8d120f6317613fda3c2f9b397d30e2bb632d22
commit fe8d120f6317613fda3c2f9b397d30e2bb632d22
Author: Li-Wen Hsu <lwhsu@FreeBSD.org>
AuthorDate: 2026-10-03 19:21:24 +0000
Commit: Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2026-10-03 19:21:24 +0000
security/keepassxc276: Fix build with CMake 4
Set CMAKE_POLICY_VERSION_MINIMUM to 3.5 as upstream 2.7.6 still declares
cmake_minimum_required() below 3.5, which CMake 4 rejects.
PR: 298433
Reported by: arrowd
---
security/keepassxc276/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/security/keepassxc276/Makefile b/security/keepassxc276/Makefile
index c0dce7ee999b..04392d8588be 100644
--- a/security/keepassxc276/Makefile
+++ b/security/keepassxc276/Makefile
@@ -34,6 +34,7 @@ USE_QT= concurrent core dbus gui network svg widgets buildtools:build \
USE_XORG= x11
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
+CMAKE_ARGS+= -DCMAKE_POLICY_VERSION_MINIMUM:STRING=3.5 # CMake 4 compatibility
CMAKE_OFF= WITH_XC_UPDATECHECK
CONFLICTS_INSTALL= keepassx-0.* keepassx2 keepassx