OpenJDK ports incorrectly shown as 'green' for unsupported OS versions on ports.macports.org

Nils Breunese nils at breun.nl
Fri Jan 22 21:39:31 UTC 2021


Hello,

I maintain the openjdk* ports. These ports require Mac OS X 10.10 Yosemite or later, and the Portfile contains an explicit check for OS version: https://github.com/macports/macports-ports/blob/master/java/openjdk/Portfile#L307-L314

However, I got a report from a MacPorts user that https://ports.macports.org/port/openjdk8/summary shows 10.6, 10.7, 10.8 and 10.9 as green (https://trac.macports.org/ticket/62125). When I click any of these versions I get a page that says "No Such Resource”. Is this a bug in ports.macports.org or is there any way I can modify the Portfile to make versions older than 10.10 not show up as green?

Nils Breunese.


More information about the macports-dev mailing list