Created attachment 254376 [details] 0001-devel-ocaml-camljava-Update-to-0.5-improve-port.patch Hello, This patche updates devel/ocaml-java to version 0.5 and improves the port in the following aspects: - Set MAKE_ARGS to -e, and add to MAKE_ENV the upstream Makefile variables which need to be configured, instead of REINPLACE_CMD them in post-patch. - Set the rpath in function of the JAVA_PORT_VERSION, to restore support for JDK8. - Drop patch to jnistubs.c, as it is essentially included upstream now. Make test passes using JAVA_VERSION 8, 11, 17, 18, 19, 20 and 21.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=2546696f9bd2acb0ae9ce313973d7f812944bb52 commit 2546696f9bd2acb0ae9ce313973d7f812944bb52 Author: Benjamin Jacobs <freebsd@dev.thsi.be> AuthorDate: 2024-10-19 22:32:18 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2024-10-21 11:21:22 +0000 devel/ocaml-camljava: Update to 0.5, improve port - Set MAKE_ARGS to -e, and add to MAKE_ENV the upstream Makefile variables which need to be configured, instead of REINPLACE_CMD them in post-patch. - Set the rpath in function of the JAVA_PORT_VERSION, to restore support for JDK8. - Drop patch to jnistubs.c, as it is essentially included upstream now. PR: 282214 devel/ocaml-camljava/Makefile | 31 +- devel/ocaml-camljava/distinfo | 6 +- .../files/patch-lib_jnistubs.c (gone) | 353 --------------------- 3 files changed, 22 insertions(+), 368 deletions(-)