git: afe930e6775d - main - deskutils/teapot: Fix building with CMake 4

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Fri, 09 Oct 2026 13:20:22 UTC
The branch main has been updated by arrowd:

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

commit afe930e6775dc442b59981ecca5142b36f337d69
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-10-09 13:19:57 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-10-09 13:20:14 +0000

    deskutils/teapot: Fix building with CMake 4
---
 deskutils/teapot/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/deskutils/teapot/Makefile b/deskutils/teapot/Makefile
index afd6e27bfdb7..d5a0238dbc1e 100644
--- a/deskutils/teapot/Makefile
+++ b/deskutils/teapot/Makefile
@@ -16,6 +16,8 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		cmake ncurses
 
+CMAKE_ARGS=	-DCMAKE_POLICY_VERSION_MINIMUM=3.5
+
 # We download the prebuilt binary tarball for Linux in order to avoid
 # having to generate the pdf and html docs from the LyX sourcecode.
 WRKSRC_DOCS=	${WRKDIR}/${DISTNAME:C/^./T/}-Linux/share/doc/${PORTNAME}