<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/f2e3f35ddd0955c44785b9e89ff210578cb7fbb9">https://github.com/macports/macports-ports/commit/f2e3f35ddd0955c44785b9e89ff210578cb7fbb9</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit f2e3f35ddd0955c44785b9e89ff210578cb7fbb9
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Sat Oct 7 17:03:08 2023 +0100
<span style='display:block; white-space:pre;color:#404040;'> gcc13: ld64 must use xcode variant for ld-classic support
</span>---
lang/gcc13/Portfile | 3 +++
1 file changed, 3 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/gcc13/Portfile b/lang/gcc13/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a138fede096..a71d53e2639 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/gcc13/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/gcc13/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,6 +5,7 @@ PortGroup select 1.0
</span> PortGroup compiler_blacklist_versions 1.0
PortGroup active_variants 1.1
PortGroup conflicts_build 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup active_variants 1.1
</span>
epoch 0
name gcc13
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -180,6 +181,8 @@ if {${os.platform} eq "darwin" && ${os.major} >= 22} {
</span> # https://developer.apple.com/forums/thread/737707
# https://github.com/Homebrew/homebrew-core/issues/145991
configure.args-replace --with-ld=${prefix}/bin/ld --with-ld=${prefix}/bin/ld-classic
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Ensure ld64 is installed with the correct variant need for ld-classic
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ require_active_variants ld64 ld64_xcode
</span> }
}
</pre><pre style='margin:0'>
</pre>