<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/257dd099d10239bce205535a7e1ecf4b7b5f95c3">https://github.com/macports/macports-ports/commit/257dd099d10239bce205535a7e1ecf4b7b5f95c3</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 257dd099d10239bce205535a7e1ecf4b7b5f95c3
</span>Author: Kyle Lanchman <macports@kylelanchman.com>
AuthorDate: Sat Oct 15 00:31:24 2022 -0400

<span style='display:block; white-space:pre;color:#404040;'>    mint: add universal variant
</span>---
 devel/mint/Portfile | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/mint/Portfile b/devel/mint/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b2c4db29151..cc8afac5120 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/mint/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/mint/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,8 +31,10 @@ if {${os.platform} eq "darwin" && ${os.major} < 18} {
</span>     }
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Universal support handled manually
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-universal_variant       no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Xcode 12 (Swift 5.3) adds the --arch flag, letting us make a universal build.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set can_build_universal [expr [vercmp ${xcodeversion} 12.0] >= 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+universal_variant       ${can_build_universal}
</span> 
 use_configure           no
 use_xcode               yes
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -43,10 +45,12 @@ build.args              --configuration release --disable-sandbox
</span> 
 set builtproductdir     ${worksrcpath}/.build/release
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Xcode 12 (Swift 5.3) adds the --arch flag, letting us make a universal build.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Doing so changes the output directory of the product.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {[vercmp ${xcodeversion} 12.0] >= 0} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    build.args-append   --arch x86_64 --arch arm64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${universal_possible} && ${can_build_universal} && [variant_isset universal]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    foreach arch ${configure.universal_archs} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        build.args-append --arch ${arch}
</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;'>+    # Building universal changes the output directory of the product.
</span>     set builtproductdir ${worksrcpath}/.build/apple/Products/Release
 }
 
</pre><pre style='margin:0'>

</pre>