<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/3f19f32204f5b9441844fbb490f5c512c91ccfbc">https://github.com/macports/macports-ports/commit/3f19f32204f5b9441844fbb490f5c512c91ccfbc</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 3f19f32204f MacPorts port: set hostArchitectures in Big Sur pkg
</span>3f19f32204f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 3f19f32204f5b9441844fbb490f5c512c91ccfbc
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Wed Jun 16 17:21:37 2021 +1000
<span style='display:block; white-space:pre;color:#404040;'> MacPorts port: set hostArchitectures in Big Sur pkg
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/63096
</span>---
sysutils/MacPorts/Portfile | 3 +++
1 file changed, 3 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/MacPorts/Portfile b/sysutils/MacPorts/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 67b0411945b..cfb813a0b92 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/MacPorts/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/MacPorts/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -106,10 +106,13 @@ pre-pkg {
</span> reinplace "s|__XVERS__|${macosx_deployment_target}|" ${workpath}/Distribution
if {[vercmp $macosx_deployment_target 11] >= 0} {
set next_major [expr {[lindex [split $macosx_deployment_target .] 0]+1}].0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set hostArchs { hostArchitectures="arm64,x86_64"}
</span> } else {
set next_major [lindex [split $macosx_deployment_target .] 0].[expr {[lindex [split $macosx_deployment_target .] 1] + 1}]
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set hostArchs ""
</span> }
reinplace "s|__NEXT_XVERS__|$next_major|" ${workpath}/Distribution
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|__ARCHS__|$hostArchs|" ${workpath}/Distribution
</span> set pkgvers ${version}
if {$revision != 0} {
append pkgvers _${revision}
</pre><pre style='margin:0'>
</pre>