git: 73a7d8d7c7bd - main - java/javahelp: allow building with jdk21 or jdk25 also

From: Ronald Klop <ronald_at_FreeBSD.org>
Date: Sun, 14 Dec 2025 15:53:39 UTC
The branch main has been updated by ronald:

URL: https://cgit.FreeBSD.org/ports/commit/?id=73a7d8d7c7bdf7856138f69532fe214ae2699fd0

commit 73a7d8d7c7bdf7856138f69532fe214ae2699fd0
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2025-12-14 15:52:17 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2025-12-14 15:53:25 +0000

    java/javahelp: allow building with jdk21 or jdk25 also
    
    PR:     272855
---
 java/javahelp/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/javahelp/Makefile b/java/javahelp/Makefile
index 5f8e8f278f21..f4af462ba110 100644
--- a/java/javahelp/Makefile
+++ b/java/javahelp/Makefile
@@ -35,7 +35,7 @@ SUB_FILES=	jhindexer \
 		jhsearch
 
 post-patch:
-	${REINPLACE_CMD} '/javac.source/s,4,6,;/javac.target/s,4,6,' \
+	${REINPLACE_CMD} '/javac.source/s,4,8,;/javac.target/s,4,8,' \
 		${WRKSRC}/*/nbproject/project.properties
 
 do-install: