[Bug 291579] devel/luajava: only builds with openjdk8

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 29 Dec 2025 18:19:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291579

--- Comment #1 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

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

commit 457c22788cad99fe422082d27969043f16de1a03
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2025-12-11 19:46:13 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2025-12-29 18:18:24 +0000

    devel/luajava: pin to openjdk8

    Compiliing with jdk21 gives an error in javadoc which is fixed by making
the patch-Makefile more generic so all jdk versions use '-Xdoclint:none'.

    With the doclint option jdk11 and newer give an error on missing javah
executable. I can't quickly fix this, so let's pin the port to openjdk8.

    With this patch we can set JAVA_DEFAULT=21 and this port will still use
openjdk8 to builld.

    PR:     291579
    Approved-By:    maintainer timeout

 devel/luajava/Makefile             |  1 +
 devel/luajava/files/patch-Makefile | 15 ++++-----------
 2 files changed, 5 insertions(+), 11 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.