git: 10316ebec744 - main - archivers/snappy-java: remove run_depends on openjdk8

From: Ronald Klop <ronald_at_FreeBSD.org>
Date: Mon, 06 Nov 2023 13:30:16 UTC
The branch main has been updated by ronald:

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

commit 10316ebec744a6bcaf285f0df5a354136b4771ee
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2023-11-04 09:38:30 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2023-11-06 13:29:56 +0000

    archivers/snappy-java: remove run_depends on openjdk8
    
    This port is a library used by other Java ports. It does not run
    itself so does not need a run_depends on openjdk8.
    Solves: unifi7 currently installing openjdk11 and openjdk8 because of this.
    
    Not bumping portrevision as it does not change the functionality of the port.
    
    tested:
    poudriere stage-qa: ok
    
    PR: 274902
---
 archivers/snappy-java/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/archivers/snappy-java/Makefile b/archivers/snappy-java/Makefile
index 4c5fcc91ec94..bd46c3334633 100644
--- a/archivers/snappy-java/Makefile
+++ b/archivers/snappy-java/Makefile
@@ -39,6 +39,7 @@ GH_TUPLE=	google:snappy:${DISTVERSION:R}:google \
 		kiyo-masui:bitshuffle:${BITSHUFFLE_V}:masui
 
 USE_JAVA=	yes
+JAVA_BUILD=	jre # prevent JAVA_RUN via bsd.java.mk
 USE_LDCONFIG=	yes
 MAKE_ARGS+=	CXX="${CXX}"
 TEST_TARGET=	test