git: eeb8f32c7532 - main - graphics/podofo09: Fix building with CMake 4

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sat, 26 Sep 2026 18:54:30 UTC
The branch main has been updated by arrowd:

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

commit eeb8f32c753295814db697e105033a308c6bcf7e
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-09-26 18:52:28 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-09-26 18:53:14 +0000

    graphics/podofo09: Fix building with CMake 4
    
    Approved by:    portmgr (fixit blanket)
---
 graphics/podofo09/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/graphics/podofo09/Makefile b/graphics/podofo09/Makefile
index d0a6870cdd1f..f8684951b6e0 100644
--- a/graphics/podofo09/Makefile
+++ b/graphics/podofo09/Makefile
@@ -21,7 +21,8 @@ USES=		cmake compiler:c++11-lang cpe dos2unix pkgconfig ssl
 
 CMAKE_ARGS=	-DFONTCONFIG_LIBRARIES=${LOCALBASE}/lib/libfontconfig.so \
 		-DOPENSSL_INCLUDE_DIR=${OPENSSLINC} \
-		-DOPENSSL_LIBRARIES=${OPENSSLLIB}
+		-DOPENSSL_LIBRARIES=${OPENSSLLIB} \
+		-DCMAKE_POLICY_VERSION_MINIMUM=3.5
 CMAKE_ON=	PODOFO_BUILD_SHARED PODOFO_BUILD_STATIC
 USE_LDCONFIG=	yes