git: ed25d4e234ff - main - biology/gkl: pin to jdk 8 and 11

From: Ronald Klop <ronald_at_FreeBSD.org>
Date: Wed, 21 Jan 2026 10:30:04 UTC
The branch main has been updated by ronald:

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

commit ed25d4e234ff7deee31c2501b6f910188dd501e8
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2026-01-07 16:03:07 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2026-01-21 10:29:46 +0000

    biology/gkl: pin to jdk 8 and 11
    
    Error on jdk17+:
    Could NOT find JNI (missing: JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 AWT JVM)
    ...
    CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
    Please set them or make sure they are set and tested correctly in the CMake files:
    JAVA_AWT_INCLUDE_PATH (ADVANCED)
    
    PR:     292244
    Approved-by:    maintainer timeout
---
 biology/gkl/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/biology/gkl/Makefile b/biology/gkl/Makefile
index 128a190d5839..d7a4d7e7e597 100644
--- a/biology/gkl/Makefile
+++ b/biology/gkl/Makefile
@@ -18,6 +18,7 @@ USE_LDCONFIG=	yes
 USE_GITHUB=	yes
 GH_ACCOUNT=	Intel-HLS
 GH_PROJECT=	GKL
+JAVA_VERSION=	8 11
 
 BINARY_ALIAS=	make=${GMAKE}