git: 9cd0bdf21f59 - main - textproc/ebook-tools: Fix building with CMake 4

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

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

commit 9cd0bdf21f590286463f6da3757e306efdae4f97
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-10-03 18:41:04 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-10-03 18:41:23 +0000

    textproc/ebook-tools: Fix building with CMake 4
---
 textproc/ebook-tools/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/textproc/ebook-tools/Makefile b/textproc/ebook-tools/Makefile
index f19e46180b7a..56b4b5d2820f 100644
--- a/textproc/ebook-tools/Makefile
+++ b/textproc/ebook-tools/Makefile
@@ -16,6 +16,8 @@ USES=		cmake gnome
 USE_LDCONFIG=	yes
 USE_GNOME=	libxml2
 
+CMAKE_ARGS=	-DCMAKE_POLICY_VERSION_MINIMUM=3.5
+
 CONFLICTS_INSTALL=	ncbi-entrez-direct # bin/einfo
 
 .include <bsd.port.mk>