git: 1bccdfc51c7e - main - x11-themes/gtk-oxygen-engine: Fix building with CMake 4

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

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

commit 1bccdfc51c7e3b23b681dc4245e4d90601f2e6a5
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-09-07 15:55:51 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-09-07 15:56:05 +0000

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

diff --git a/x11-themes/gtk-oxygen-engine/Makefile b/x11-themes/gtk-oxygen-engine/Makefile
index 22e4d6b4db27..72cf65ed736c 100644
--- a/x11-themes/gtk-oxygen-engine/Makefile
+++ b/x11-themes/gtk-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=	gtk20
 
+CMAKE_ARGS=	-DCMAKE_POLICY_VERSION_MINIMUM=3.5
+
 .include <bsd.port.mk>