git: 6683cbdcf72f - main - audio/libmodplug: Fix building with CMake 4

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sat, 03 Oct 2026 14:03:44 UTC
The branch main has been updated by arrowd:

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

commit 6683cbdcf72fa0dda04be619e8391f5e41bc221d
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-10-03 13:56:27 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-10-03 14:02:08 +0000

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

diff --git a/audio/libmodplug/Makefile b/audio/libmodplug/Makefile
index c5eacbb33d4b..6e786e7c2c61 100644
--- a/audio/libmodplug/Makefile
+++ b/audio/libmodplug/Makefile
@@ -16,6 +16,7 @@ GH_ACCOUNT=	ShiftMediaProject
 GH_PROJECT=	modplug
 USE_LDCONFIG=	yes
 
-CMAKE_ARGS=	-DBUILD_SHARED_LIBS:BOOL=ON
+CMAKE_ARGS=	-DBUILD_SHARED_LIBS:BOOL=ON \
+		-DCMAKE_POLICY_VERSION_MINIMUM=3.5
 
 .include <bsd.port.mk>