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 There may be more setup to do on this branch as well. I don’t see the 
bot automatically adding the labels to the PR. For example this one probably 
should be labeled `build` by the bot.

It also looks like we could self review PRs to bsd-port (meaning you, me and 
Greg), but I thought the goal here was to have OpenJDK developers review each 
PR to this branch so that at the end of this process when bsd-port branch 
matches the dev branch and is ready to be proposed for merging to mainline, the 
whole of bsd-port would have been reviewed in PR sized chunks. If this is 
accurate, then we may need some guidance and help from OpenJDK devs on how to 
be setup correctly so GitHub enforces this process on the bsd-port branch.

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

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

Reply via email to