<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/bbb373f43b3e34dbd7cf3d5ba698aba4092f4a0e">https://github.com/macports/macports-ports/commit/bbb373f43b3e34dbd7cf3d5ba698aba4092f4a0e</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit bbb373f43b3e34dbd7cf3d5ba698aba4092f4a0e
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Fri Aug 5 19:01:19 2022 +0545

<span style='display:block; white-space:pre;color:#404040;'>    libgpg-error: fix triple for Rosetta
</span>---
 devel/libgpg-error/Portfile | 9 +++++++++
 1 file changed, 9 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libgpg-error/Portfile b/devel/libgpg-error/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 412c884785e..e3d406a9dd6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libgpg-error/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libgpg-error/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -48,6 +48,15 @@ platform darwin 8 {
</span>     configure.cppflags-append -D__DARWIN_UNIX03
 }
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin 10 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # Rosetta misdetects the arch, which creates a problem for dependent libgcrypt.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # *** The config script "/opt/local/bin/gpgrt-config --libdir=/opt/local/lib gpg-error" was
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # *** built for x86_64-apple-darwin10.8.0 and thus may not match the used host powerpc-apple-darwin10.
</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;'>+        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] && ${using_muniversal_PG}} {
     # muniversal's *.h merger does not handle \-continued lines properly
     patchfiles-append           patch-gen-posix-lock-obj_c.diff
</pre><pre style='margin:0'>

</pre>