git: ecc94dbbf5b4 - main - mail/libvmime: Fix build with CMake 4.0.0+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Nov 2026 14:44:34 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ecc94dbbf5b46e9e4dab63a0b57b50210b85e6af
commit ecc94dbbf5b46e9e4dab63a0b57b50210b85e6af
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-11-09 13:52:45 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-11-09 14:17:11 +0000
mail/libvmime: Fix build with CMake 4.0.0+
PR: 298621
Reported by: arrowd
---
mail/libvmime/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/mail/libvmime/Makefile b/mail/libvmime/Makefile
index d3795a4cfbdd..46899641d4c1 100644
--- a/mail/libvmime/Makefile
+++ b/mail/libvmime/Makefile
@@ -17,7 +17,8 @@ LIB_DEPENDS= libgnutls.so:security/gnutls \
USES= cmake:noninja compiler:c++11-lib pkgconfig
-CMAKE_ARGS= -DLIB_SUFFIX=""
+CMAKE_ARGS= -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
+ -DLIB_SUFFIX=""
CMAKE_OFF= VMIME_BUILD_SAMPLES VMIME_SHARED_PTR_USE_BOOST
CMAKE_ON= VMIME_SHARED_PTR_USE_CXX
USE_LDCONFIG= yes