<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/4c508393ad9f798904be0bba0f145dc641b83d93">https://github.com/macports/macports-ports/commit/4c508393ad9f798904be0bba0f145dc641b83d93</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 4c508393ad9 infracost: Fix build to make only the right target
</span>4c508393ad9 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 4c508393ad9f798904be0bba0f145dc641b83d93
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Thu May 6 14:25:18 2021 +0100

<span style='display:block; white-space:pre;color:#404040;'>    infracost: Fix build to make only the right target
</span>---
 sysutils/infracost/Portfile | 7 +++++++
 1 file changed, 7 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/infracost/Portfile b/sysutils/infracost/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d7d609e04c5..7c096ca9a43 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/infracost/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/infracost/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,6 +31,13 @@ use_parallel_build  no
</span> 
 post-extract {
     reinplace "s|CGO_ENABLED=0||g" Makefile
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    # Fix dumb assumption both arm64 and amd64 should always be built for darwin ...
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {${build_arch} eq "arm64"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        set disa "amd64"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        set disa "arm64"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    reinplace "s|env GOOS=darwin GOARCH=${disa}|#env GOOS=darwin GOARCH=${disa}|g" Makefile
</span> }
 
 destroot {
</pre><pre style='margin:0'>

</pre>