OpenJDK is open source, so it can be built from source. However, it is quite a complex and lengthy build. As the maintainer of the openjdk* ports I decided to use the binaries provided by the AdoptOpenJDK (for the HotSpot VM and OpenJ9 VM based JDK’s) and GraalVM projects. I personally wouldn’t want to replicate their builds in MacPorts and I don’t think anyone would enjoy waiting for MacPorts to build OpenJDK from source on their machine, because that can take a couple of hours. But theoretically the openjdk* ports could be changed to build from source. If anyone wants to have a go at that, be my guest!
Nils. > Op 7 aug. 2020 om 10:09 heeft Georges Martin <jrjsm...@gmail.com> het > volgende geschreven: > > Good point. > > And I just updated postgresql-jdbc, which depends on binary-only openjdk*... > :-| > >> Le 7 août 2020 à 08:59, Ryan Schmidt <ryandes...@macports.org> a écrit : >> >> >> >>>> On Aug 5, 2020, at 07:52, Georges Martin wrote: >>> >>> If MacPorts starts to mix both approaches, I worry we may end up having >>> (open source) packages depending on closed source, binary packages. >> >> We already have that, by necessity. For example, php-excel is an open source >> php module that depends on the closed-source libxl library, for which we >> have a port. php-oracle, an open source php module distributed as part of >> php itself, depends on the closed-source oracle-instantclient library, for >> which we have a port.