> 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
Harald Eilertsen has updated the pull request incrementally with one additional commit since the last revision: Don't build SA for other BSD's than FreeBSD This work was sponsored by: The FreeBSD Foundation ------------- Changes: - all: https://git.openjdk.org/bsd-port/pull/3/files - new: https://git.openjdk.org/bsd-port/pull/3/files/d7a75388..60f6cd5d Webrevs: - full: https://webrevs.openjdk.org/?repo=bsd-port&pr=3&range=02 - incr: https://webrevs.openjdk.org/?repo=bsd-port&pr=3&range=01-02 Stats: 4 lines in 1 file changed: 0 ins; 3 del; 1 mod Patch: https://git.openjdk.org/bsd-port/pull/3.diff Fetch: git fetch https://git.openjdk.org/bsd-port.git pull/3/head:pull/3 PR: https://git.openjdk.org/bsd-port/pull/3
