<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/2449c143f15af4bb3bf4350f5765013ff311b27e">https://github.com/macports/macports-ports/commit/2449c143f15af4bb3bf4350f5765013ff311b27e</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 2449c143f15af4bb3bf4350f5765013ff311b27e
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Thu Aug 4 12:13:11 2022 +0545
<span style='display:block; white-space:pre;color:#404040;'> nspr: fix build on Rosetta
</span>---
devel/nspr/Portfile | 7 +++++++
1 file changed, 7 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/nspr/Portfile b/devel/nspr/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7087ff52f5b..78711db6a5c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/nspr/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/nspr/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -44,6 +44,13 @@ platform darwin 9 {
</span> }
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin 10 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${build_arch} eq "ppc"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Otherwise Intel flags are used on Rosetta: https://trac.macports.org/ticket/64900
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --build=powerpc-apple-darwin${os.major}
</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;'>+
</span> if {(!${universal_possible} || ![variant_isset universal]) && ${configure.build_arch} in [list arm64 ppc64 x86_64]} {
configure.args-append --enable-64bit
}
</pre><pre style='margin:0'>
</pre>