git: 950044db0039 - main - graphics/epsonscan2: Fix building with CMake 4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Sep 2026 15:34:52 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=950044db003918a3685e4abb8d21f64b8965aa21
commit 950044db003918a3685e4abb8d21f64b8965aa21
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-09-15 15:32:51 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-09-15 15:33:44 +0000
graphics/epsonscan2: Fix building with CMake 4
PR: 298123
Approved by: J.R. Oldroyd <fbsd@opal.com> (maintainer)
---
graphics/epsonscan2/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/graphics/epsonscan2/Makefile b/graphics/epsonscan2/Makefile
index dd9a4c8ff2ee..8b8acfa85406 100644
--- a/graphics/epsonscan2/Makefile
+++ b/graphics/epsonscan2/Makefile
@@ -24,6 +24,8 @@ USE_XORG= x11 xau xcb xdmcp
EPSON_VERSION= 1.0.0.0
+CMAKE_ARGS= -DCMAKE_POLICY_VERSION_MINIMUM=3.5
+
CONFIGURE_ENV+= STAGEDIR=${STAGEDIR}
SUB_FILES= pkg-message \