<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/10bdaa73a75a5d5a0c591a839c0258505d031d29">https://github.com/macports/macports-ports/commit/10bdaa73a75a5d5a0c591a839c0258505d031d29</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 10bdaa73a75a5d5a0c591a839c0258505d031d29
</span>Author: kencu <ken.cunningham.webuse@gmail.com>
AuthorDate: Thu Jun 10 08:33:39 2021 -0700
<span style='display:block; white-space:pre;color:#404040;'> libgcc9: stub port on < darwin12
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> libgcc9 supplies libasan.5.dylib only on darwin12+
</span><span style='display:block; white-space:pre;color:#404040;'> closes: https://trac.macports.org/ticket/63018
</span><span style='display:block; white-space:pre;color:#404040;'> closes: https://trac.macports.org/ticket/63016
</span>---
lang/gcc9/Portfile | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/gcc9/Portfile b/lang/gcc9/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9bacec62a28..a304ebf693f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/gcc9/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/gcc9/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -198,6 +198,10 @@ if {${subport} eq "libgcc9"} {
</span> }
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.major} >= 12 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # libgcc9 provides libasan.5.dylib only on darwin 12+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # http://trac.macports.org/ticket/35770
# http://trac.macports.org/ticket/38814
# While there can be multiple versions of these runtimes in a single
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -286,6 +290,27 @@ if {${subport} eq "libgcc9"} {
</span>
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # gcc9 runtime versions are identical to that in gcc10 on < darwin12, so libgcc9 does not
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # need to provide anything, hence do not build anything.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # port still defined as needed to satisfy dependency tree
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run path:share/doc/libgcc/README:libgcc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fetch.type none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build { }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set doc_dir ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 -d ${doc_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "echo ${subport} provides no runtime > ${doc_dir}/README"
</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> } else {
post-destroot {
</pre><pre style='margin:0'>
</pre>