git: 24bf5a0635fa - 2023Q4 - java/openjdk21: Fix bootstrap dependency specification

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Thu, 16 Nov 2023 12:17:05 UTC
The branch 2023Q4 has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=24bf5a0635fa30d966b5de030e91a8d91265ad1d

commit 24bf5a0635fa30d966b5de030e91a8d91265ad1d
Author:     Greg Lewis <glewis@FreeBSD.org>
AuthorDate: 2023-10-23 13:14:40 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2023-11-16 12:14:03 +0000

    java/openjdk21: Fix bootstrap dependency specification
    
    PR:             273979
    (cherry picked from commit 2ac75eafd85218e6a4f7d66bfe8cb40575b684da)
---
 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