<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/7a77427e26ed5556e91613848f704951d8595e25">https://github.com/macports/macports-ports/commit/7a77427e26ed5556e91613848f704951d8595e25</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 7a77427e26e macports-libcxx: adjust configure.compiler so universal is respected
</span>7a77427e26e is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 7a77427e26ed5556e91613848f704951d8595e25
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Fri Mar 29 17:56:15 2024 -0700

<span style='display:block; white-space:pre;color:#404040;'>    macports-libcxx: adjust configure.compiler so universal is respected
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    take-2
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    if configure.compiler is the same as the clang version being used
</span><span style='display:block; white-space:pre;color:#404040;'>    as the donor for libc++, base will set a depends.skip_archcheck on it
</span><span style='display:block; white-space:pre;color:#404040;'>    and universal builds will be broke
</span>---
 lang/macports-libcxx/Portfile | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/macports-libcxx/Portfile b/lang/macports-libcxx/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a20a0949af9..26488538b90 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/macports-libcxx/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/macports-libcxx/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,6 +23,20 @@ revision            0
</span> 
 depends_build       port:clang-${clangversion}
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# these cannot match or base will add a depends.skip_archcheck on the needed clang
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# version and universal builds won't work
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# this port builds by copying files from an installed clang compiler
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# if it so happens that the default configure.compiler is the same as the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# clang compiler to be used during the installation, macports-base will have
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# added a depends.skip_archcheck on the designated compiler, and so a universal
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# variant will be ignored.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# see: https://github.com/macports/macports-ports/pull/23230
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# see: https://trac.macports.org/ticket/69189
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[string match ${configure.compiler} "macports-clang-${clangversion}"]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.compiler  cc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> master_sites
 distfiles
 fetch {}
</pre><pre style='margin:0'>

</pre>