Bug 282214 - devel/ocaml-camljava: Update to 0.5
Summary: devel/ocaml-camljava: Update to 0.5
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Li-Wen Hsu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-19 23:00 UTC by Benjamin Jacobs
Modified: 2024-10-21 11:24 UTC (History)
1 user (show)

See Also:


Attachments
0001-devel-ocaml-camljava-Update-to-0.5-improve-port.patch (19.82 KB, patch)
2024-10-19 23:00 UTC, Benjamin Jacobs
freebsd: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Jacobs 2024-10-19 23:00:33 UTC
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.
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-10-21 11:24:10 UTC
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(-)