<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/1f49ef1abbaf09801654d131374dc42150969298">https://github.com/macports/macports-ports/commit/1f49ef1abbaf09801654d131374dc42150969298</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 1f49ef1 root6: Add support for using clang/gcc 10
</span>1f49ef1 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 1f49ef1abbaf09801654d131374dc42150969298
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Mon May 4 14:35:53 2020 +0100
<span style='display:block; white-space:pre;color:#404040;'> root6: Add support for using clang/gcc 10
</span>---
science/root6/Portfile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/root6/Portfile b/science/root6/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2f460f5..30af323 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/root6/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/root6/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -52,7 +52,7 @@ platforms darwin
</span> dist_subdir root/${version}_1
# Force a compatible compiler
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set gcc_ver 9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set gcc_ver 10
</span> configure.fc ${prefix}/bin/gfortran-mp-${gcc_ver}
configure.f77 ${prefix}/bin/gfortran-mp-${gcc_ver}
configure.f90 ${prefix}/bin/gfortran-mp-${gcc_ver}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -61,7 +61,7 @@ depends_build-append port:gcc${gcc_ver}
</span> compiler.blacklist-append *gcc* {clang < 920} {macports-clang-3.[0-9]} {macports-clang-[4-6].0}
# If using Macports clang, make sure its added as a runtime dep as well as cling will need it.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-foreach clang_v { 7.0 8.0 9.0 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach clang_v { 7.0 8.0 9.0 10 } {
</span> if { ${configure.compiler} eq "macports-clang-${clang_v}"} {
depends_run-append port:clang-${clang_v}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -183,7 +183,7 @@ if { ${os.major} >= 18 } {
</span> compiler.blacklist-append macports-clang-5.0
} else {
# force use of MP clang 5.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>- compiler.blacklist-append clang {macports-clang-[7-8].0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.blacklist-append clang {macports-clang-[7-9].0}
</span> compiler.cxx_standard 2011
}
</pre><pre style='margin:0'>
</pre>