git: 2ffd88e970a4 - main - x11-themes/gtk3-oxygen-engine: Fix building with CMake 4

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Mon, 07 Sep 2026 15:58:29 UTC
The branch main has been updated by arrowd:

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

commit 2ffd88e970a4b2c4e32f91c98d7c8b42996e2ac2
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-09-07 15:57:13 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-09-07 15:57:13 +0000

    x11-themes/gtk3-oxygen-engine: Fix building with CMake 4
---
 x11-themes/gtk3-oxygen-engine/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/x11-themes/gtk3-oxygen-engine/Makefile b/x11-themes/gtk3-oxygen-engine/Makefile
index eec757c082d8..ed9ebafa1cca 100644
--- a/x11-themes/gtk3-oxygen-engine/Makefile
+++ b/x11-themes/gtk3-oxygen-engine/Makefile
@@ -19,4 +19,6 @@ LIB_DEPENDS=	libcairo.so:graphics/cairo \
 USES=		cmake compiler:c++11-lang gnome pkgconfig tar:bzip2
 USE_GNOME=	gtk30
 
+CMAKE_ARGS=	-DCMAKE_POLICY_VERSION_MINIMUM=3.5
+
 .include <bsd.port.mk>