git: 2ac75eafd852 - main - java/openjdk21: Fix bootstrap dependency specification

From: Greg Lewis <glewis_at_FreeBSD.org>
Date: Mon, 23 Oct 2023 13:15:34 UTC
The branch main has been updated by glewis:

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

commit 2ac75eafd85218e6a4f7d66bfe8cb40575b684da
Author:     Greg Lewis <glewis@FreeBSD.org>
AuthorDate: 2023-10-23 13:14:40 +0000
Commit:     Greg Lewis <glewis@FreeBSD.org>
CommitDate: 2023-10-23 13:14:40 +0000

    java/openjdk21: Fix bootstrap dependency specification
    
    PR:             273979
---
 java/openjdk21/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/java/openjdk21/Makefile b/java/openjdk21/Makefile
index a752ae715ba7..7412543ec05a 100644
--- a/java/openjdk21/Makefile
+++ b/java/openjdk21/Makefile
@@ -122,8 +122,8 @@ BOOTSTRAPJDKDIR=	${BJDK}
 
 # if no valid jdk found, set dependency
 .if !defined(BOOTSTRAPJDKDIR)
-BOOTSTRAPJDKDIR?=	${LOCALBASE}/openjdk19
-BUILD_DEPENDS+=		${BOOTSTRAPJDKDIR}/bin/javac:java/openjdk19
+BOOTSTRAPJDKDIR?=	${LOCALBASE}/openjdk20
+BUILD_DEPENDS+=		${BOOTSTRAPJDKDIR}/bin/javac:java/openjdk20
 .endif
 
 JDK_BUILD_JVM=	server