git: 8dcf70937f53 - main - net/freerdp: Fix building with CMake 4

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Wed, 14 Oct 2026 14:37:13 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8dcf70937f537d198101c9f03fef68082669e197

commit 8dcf70937f537d198101c9f03fef68082669e197
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-10-14 14:36:41 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-10-14 14:36:41 +0000

    net/freerdp: Fix building with CMake 4
    
    Approved by:    portmgr (fixit blanket)
---
 net/freerdp/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/freerdp/Makefile b/net/freerdp/Makefile
index 1c7a0c69a47e..95c003dd0ed4 100644
--- a/net/freerdp/Makefile
+++ b/net/freerdp/Makefile
@@ -28,6 +28,7 @@ BROKEN_SSL_REASON_libressl-devel=	fails to compile: no member named 'alert_dispa
 
 USE_LDCONFIG=	yes
 
+CMAKE_ARGS=	-DCMAKE_POLICY_VERSION_MINIMUM=3.5
 CMAKE_ON=	WITH_CHANNELS WITH_OPENSSL WITH_OSS WITH_ZLIB CHANNEL_URBDRC_CLIENT
 CMAKE_OFF=	WITH_DSP_EXPERIMENTAL WITH_GPROF WITH_GSSAPI WITH_GSTREAMER_0_10 WITH_IPP \
 		WITH_LIBSYSTEMD WITH_MBEDTLS WITH_OPENCL WITH_OPENSLES WITH_PROFILER \