<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/0cc78f72e539da9c61d038502a81d0bb80a2977e">https://github.com/macports/macports-ports/commit/0cc78f72e539da9c61d038502a81d0bb80a2977e</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 0cc78f72e539da9c61d038502a81d0bb80a2977e
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Fri Oct 11 22:41:21 2019 +0100
<span style='display:block; white-space:pre;color:#404040;'> bazel{26}: Migrate to cxx_standard, update openjdk dependency to v13
</span>---
devel/bazel/Portfile | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/bazel/Portfile b/devel/bazel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3343b67..60da5c4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/bazel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/bazel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,7 +2,6 @@
</span>
PortSystem 1.0
PortGroup github 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup cxx11 1.1
</span> PortGroup java 1.0
PortGroup compilers 1.0
PortGroup xcodeversion 1.0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -39,9 +38,9 @@ if { ${name} eq ${subport} } {
</span> }
# Required java version.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- java.version 12
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ java.version 12+
</span> # JDK port to install if required java not found
<span style='display:block; white-space:pre;background:#ffe0e0;'>- java.fallback openjdk12
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ java.fallback openjdk13
</span>
} elseif { "bazel26" eq ${subport} } {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -68,9 +67,9 @@ if { ${name} eq ${subport} } {
</span> }
# Required java version.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- java.version 12
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ java.version 12+
</span> # JDK port to install if required java not found
<span style='display:block; white-space:pre;background:#ffe0e0;'>- java.fallback openjdk12
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ java.fallback openjdk13
</span>
} elseif { "bazel25" eq ${subport} } {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -187,10 +186,13 @@ post-patch {
</span> # Blacklist too old system compilers
compiler.blacklist-append {clang < 710}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Clang 7 and 8 fail with missing libarclite on older systems (e.g. 10.10)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Clang 7, 8 and 9 fail with missing libarclite on older systems (e.g. 10.10)
</span> # ../usr/bin/xcrun /opt/local/bin/clang-mp-8.0 -fobjc-arc -framework CoreServices -framework Foundation -o /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_bazel/bazel26/work/.tmp/bazel_4sKHinCP/archive/_embedded_binaries/xcode-locator tools/osx/xcode_locator.m
# ld: file not found: /opt/local/libexec/llvm-8.0/lib/arc/libarclite_macosx.a
<span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.blacklist-append {macports-clang-[7-8].0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append {macports-clang-[7-9].0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# require c++11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard 2011
</span>
build.env-append CC=${configure.cc} \
CXX=${configure.cxx} \
</pre><pre style='margin:0'>
</pre>