On Sat, 28 Feb 2026 11:49:54 GMT, Harald Eilertsen <[email protected]> wrote:

> This basically allows configure to complete and set up a configuration 
> suitable for building the BSD port for supported platforms (FreeBSD, OpenBSD 
> and NetBSD.)
> 
> The flag `_BSDONLY_SOURCE` is defined for all the BSD's _except_ for Apple 
> MacOS, while the existing `_ALLBSD_SOURCE` _includes_ Apple MacOS.
> 
> For the BSD's we set the `OPENJDK_TARGET_OS_ENV` variable to distinct values 
> reflecting the BSD variant being built. This is used to distinguish build 
> flags, library locations and what libraries and modules to include for the 
> various builds.
> 
> As an example, FreeBSD includes the ALSA library, and should build the 
> Serviceability Agent, while the other BSD's do not.
> 
> This work was sponsored by: The FreeBSD Foundation

@snake66 Thank you for starting to work on this. One of the things I would like 
to see is the results of the GitHub actions builds and tests to ensure any PRs 
pushed to the bsd-port branch here don’t break them. None of the projects under 
openjdk project have them enabled, but I see the checks results on PRs to the 
jdk repo.

It appears the way to have the checks run and be visible to PRs to bsd-port 
here, is to fork this repo to your username and enable GitHub actions there. 
Then create your PR branches of bsd-port in your own repo (instead of in this 
repo) and recreate your PR from your branch in your repo back to 
openjdk/bsd-port bsd-port branch.

-------------

PR Comment: https://git.openjdk.org/bsd-port/pull/3#issuecomment-3983794923

Reply via email to