<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/24f2c2810cd005c3c748c71a7b2770773f36360a">https://github.com/macports/macports-ports/commit/24f2c2810cd005c3c748c71a7b2770773f36360a</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 24f2c2810cd qt6: actually allow compiler selection
</span>24f2c2810cd is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 24f2c2810cd005c3c748c71a7b2770773f36360a
</span>Author: Christopher Chavez <chrischavez@gmx.us>
AuthorDate: Fri Jul 22 19:12:22 2022 -0500

<span style='display:block; white-space:pre;color:#404040;'>    qt6: actually allow compiler selection
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    …at least for building modules
</span><span style='display:block; white-space:pre;color:#404040;'>    (I assume qtbase still requires Xcode clang for .tbd file support)
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    [skip ci]
</span>---
 aqua/qt6/Portfile | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt6/Portfile b/aqua/qt6/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e8b545000fe..5b16be97b34 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/qt6/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt6/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -746,13 +746,14 @@ foreach {module module_info} [array get modules] {
</span>             configure.args-append -optimize-size
 
             # Set CMake variables (similar to what cmake portgroup does)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-            # to allow using ccache and controlling compiler selection
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            # to allow using ccache (and possibly compiler selection
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            # if .tbd file support was not an issue; see comment above)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            configure.post_args --
</span>             configure.post_args-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                -- \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                -DCMAKE_C_COMPILER=${configure.cc} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                -DCMAKE_CXX_COMPILER=${configure.cxx} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                -DCMAKE_OBJC_COMPILER=${configure.objc} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                -DCMAKE_OBJCXX_COMPILER=${configure.objcxx}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                -DCMAKE_C_COMPILER=[option configure.cc] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                -DCMAKE_CXX_COMPILER=[option configure.cxx] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                -DCMAKE_OBJC_COMPILER=[option configure.objc] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                -DCMAKE_OBJCXX_COMPILER=[option configure.objcxx]
</span>             if {[option configure.ccache]} {
                 # Do not use `configure.args-append -ccache`
                 # or `configure.post_args-append -DQT_USE_CCACHE=1`
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -910,12 +911,12 @@ foreach {module module_info} [array get modules] {
</span> 
             # Set CMake variables (similar to what cmake portgroup does)
             # to allow using ccache and controlling compiler selection
<span style='display:block; white-space:pre;background:#e0ffe0;'>+            configure.post_args --
</span>             configure.post_args-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                -- \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                -DCMAKE_C_COMPILER=${configure.cc} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                -DCMAKE_CXX_COMPILER=${configure.cxx} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                -DCMAKE_OBJC_COMPILER=${configure.objc} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                -DCMAKE_OBJCXX_COMPILER=${configure.objcxx}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                -DCMAKE_C_COMPILER=[option configure.cc] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                -DCMAKE_CXX_COMPILER=[option configure.cxx] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                -DCMAKE_OBJC_COMPILER=[option configure.objc] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                -DCMAKE_OBJCXX_COMPILER=[option configure.objcxx]
</span>             if {[option configure.ccache]} {
                 configure.post_args-append -DQT_USE_CCACHE=1
             }
</pre><pre style='margin:0'>

</pre>