Skip to content

antlr: Switch to working JDK, fix builds #27920

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions lang/antlr/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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/

Expand All @@ -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.
Expand Down