From dba117c7e4df633f78c01558b052be3af248b423 Mon Sep 17 00:00:00 2001 From: Dave Allured Date: Sun, 16 Mar 2025 13:12:47 -0600 Subject: [PATCH] antlr: Switch to working JDK, fix builds . * Switch JDK from broken openjdk8 to working openjdk-bootstrap. * Rev bump to clean up binary packages and port health. * Update home page URL. * Fix platform. * Fix supported_archs. Fixes: https://trac.macports.org/ticket/72201 --- lang/antlr/Portfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lang/antlr/Portfile b/lang/antlr/Portfile index ecd0002119366..2a0628132ce3a 100644 --- a/lang/antlr/Portfile +++ b/lang/antlr/Portfile @@ -5,10 +5,10 @@ PortGroup java 1.0 name antlr version 2.7.7 -revision 4 +revision 5 categories lang java license public-domain -platforms darwin +supported_archs noarch maintainers {@Dave-Allured noaa.gov:dave.allured} \ openmaintainer @@ -19,7 +19,7 @@ long_description ANTLR, ANother Tool for Language Recognition, is a \ from grammatical descriptions containing Java, C#, or \ C++ actions. -homepage http://www.antlr2.org/ +homepage https://www.antlr2.org/ master_sites ${homepage}download/ \ https://www.mirrorservice.org/sites/distfiles.finkmirrors.net/ @@ -36,7 +36,9 @@ variant universal {} java.version 1.4+ # LTS JDK port to install if required java not found -java.fallback openjdk8 +# Currently can not build openjdk8 from source (2025 March 14). +# Use bootstrap port instead, actually is the Zulu binary install. +java.fallback openjdk8-bootstrap # JDK only needed at build time, but java PG sets lib dependency. # So declare no conflict to allow redistribution of binaries.