<pre style='margin:0'>
Aaron Madlon-Kay (amake) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/79582c24624bdad52679a66a3872206962e319b9">https://github.com/macports/macports-ports/commit/79582c24624bdad52679a66a3872206962e319b9</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 79582c24624 java-1.0 portgroup: restore skip if check fails on Big Sur
</span>79582c24624 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 79582c24624bdad52679a66a3872206962e319b9
</span>Author: Aaron Madlon-Kay <amake@macports.org>
AuthorDate: Wed Dec 16 19:32:12 2020 +0900
<span style='display:block; white-space:pre;color:#404040;'> java-1.0 portgroup: restore skip if check fails on Big Sur
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> The last couple of changes reduced the chance of spurious warnings, but there
</span><span style='display:block; white-space:pre;color:#404040;'> are still some failure cases: for example maven3 wants Java 1.7+, which is
</span><span style='display:block; white-space:pre;color:#404040;'> handled as 1.7, but we don't have a port for Java 1.7.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See https://trac.macports.org/ticket/61445
</span>---
_resources/port1.0/group/java-1.0.tcl | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/java-1.0.tcl b/_resources/port1.0/group/java-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index e9296d7b31e..3ccb1320737 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/java-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/java-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,8 +34,16 @@ pre-fetch {
</span> java_set_env
# If still not present, error out
if { ${java_version_not_found} } {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_error "${name} requires Java ${java.version} but no such installation could be found."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return -code error "missing required Java version"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ global os.platform os.major
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.platform} eq "darwin" && ${os.major} == 20} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # The following check is broken on macOS 11 Big Sur so we
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # temporarily give up on ensuring an exact Java version. See
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/61445
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_warn "Failed to confirm that required Java was installed; see https://trac.macports.org/ticket/61445"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "${name} requires Java ${java.version} but no such installation could be found."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "missing required Java version"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
}
}
</pre><pre style='margin:0'>
</pre>