<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/57122af65a9a21036715e03bd1d2e0a0578d6536">https://github.com/macports/macports-ports/commit/57122af65a9a21036715e03bd1d2e0a0578d6536</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 57122af65a9a21036715e03bd1d2e0a0578d6536
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Sat Oct 7 17:02:59 2023 +0100
<span style='display:block; white-space:pre;color:#404040;'> gcc12: ld64 must use xcode variant for ld-classic support
</span>---
lang/gcc12/Portfile | 3 +++
1 file changed, 3 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/gcc12/Portfile b/lang/gcc12/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 0146350fe84..2dbfd6ae58a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/gcc12/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/gcc12/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 1
name gcc12
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -174,6 +175,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>