git: 806576185c56 - main - archivers/snappy-java: Fix building with CMake 4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 27 Sep 2026 14:44:59 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=806576185c560ba036dd8526bf223ccf414334b1
commit 806576185c560ba036dd8526bf223ccf414334b1
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-09-27 14:42:23 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-09-27 14:43:40 +0000
archivers/snappy-java: Fix building with CMake 4
Approved by: portmgr (fixit blanket)
---
archivers/snappy-java/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/archivers/snappy-java/Makefile b/archivers/snappy-java/Makefile
index 8aa0fb317ef4..5e82315b3478 100644
--- a/archivers/snappy-java/Makefile
+++ b/archivers/snappy-java/Makefile
@@ -35,7 +35,7 @@ GH_TUPLE= google:snappy:${DISTVERSION:R}:google \
kiyo-masui:bitshuffle:${BITSHUFFLE_V}:masui
USE_LDCONFIG= yes
-MAKE_ARGS+= CXX="${CXX}"
+MAKE_ARGS+= CXX="${CXX}" SNAPPY_CMAKE_OPTS="-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
TEST_TARGET= test
BITSHUFFLE_V= 0.3.4