<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b0d570c02f4cdc2bd9f9f0181770790d8fdef592">https://github.com/macports/macports-ports/commit/b0d570c02f4cdc2bd9f9f0181770790d8fdef592</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 b0d570c02f4 clang-12: allow build on 10.6+
</span>b0d570c02f4 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit b0d570c02f4cdc2bd9f9f0181770790d8fdef592
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Sun Jun 6 23:09:28 2021 -0700
<span style='display:block; white-space:pre;color:#404040;'> clang-12: allow build on 10.6+
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> 10.5 is known not to work at present.
</span><span style='display:block; white-space:pre;color:#404040;'> 10.6 through 10.8 are likely but not yet proven to build
</span>---
lang/llvm-12/Portfile | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-12/Portfile b/lang/llvm-12/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index abe83b02b16..ca2c75e0cc9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-12/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-12/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -80,6 +80,20 @@ depends_build-append port:python39
</span> set pythonfullpath ${prefix}/bin/python3.9
configure.args-append -DPython3_EXECUTABLE=${pythonfullpath}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxx_stdlib libc++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:libcxx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} < 11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs i386 x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![file exists /usr/lib/libc++.dylib]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "$name requires a C++11 runtime, which your configuration does not allow"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ error "unsupported configuration"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> patch.dir ${workpath}/${distname}
patch.pre_args -p1
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -171,7 +185,7 @@ if {${subport} eq "clang-${llvm_version}"} {
</span> depends_skip_archcheck-append ld64
# temporarily restrict to newer systems until older systems can be rigorously vetted
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.platform} eq "darwin" && ${os.major} <= 12} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.platform} eq "darwin" && ${os.major} <= 9} {
</span> depends_build
depends_lib
depends_run
</pre><pre style='margin:0'>
</pre>