<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6ea1f4ef6b9fa9d90f058797312ea73d59b73683">https://github.com/macports/macports-ports/commit/6ea1f4ef6b9fa9d90f058797312ea73d59b73683</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 6ea1f4ef6b9 gnutls: add gnutls-devel subport, support powerpc and powerpc64
</span>6ea1f4ef6b9 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 6ea1f4ef6b9fa9d90f058797312ea73d59b73683
</span>Author: Marius Schamschula <mps@macports.org>
AuthorDate: Sat May 21 06:00:52 2022 -0500

<span style='display:block; white-space:pre;color:#404040;'>    gnutls: add gnutls-devel subport, support powerpc and powerpc64
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    See: https://trac.macports.org/ticket/63825
</span><span style='display:block; white-space:pre;color:#404040;'>    See: https://github.com/macports/macports-ports/pull/14613
</span><span style='display:block; white-space:pre;color:#404040;'>    See: https://github.com/macports/macports-ports/pull/14891
</span>---
 devel/gnutls/Portfile | 69 +++++++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 61 insertions(+), 8 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/gnutls/Portfile b/devel/gnutls/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index fc51882b7b8..2c9ad10a094 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/gnutls/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/gnutls/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -11,8 +11,6 @@ PortGroup       muniversal 1.0
</span> name            gnutls
 version         3.6.16
 revision        3
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set branch      [join [lrange [split ${version} .] 0 1] .]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set major       [join [lrange [split ${version} .] 0 2] .]
</span> categories      devel security
 # yes, some of the libs are GPL only
 license         LGPL-2.1+ GPL-3+
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,13 +22,53 @@ long_description \
</span>                 not include any patented algorithms and is available under the GNU \
                 Lesser General Public License (LGPL).
 homepage        http://www.gnutls.org/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites    https://www.gnupg.org/ftp/gcrypt/gnutls/v${branch}/ \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                https://mirrors.dotsrc.org/gcrypt/gnutls/v${branch}/
</span> 
 checksums       rmd160  d6bc8751c569db6033234c810b45eb661f77b4b4 \
                 sha256  1b79b381ac283d8b054368b335c408fedcb9b7144e0c07f531e3537d4328f3b3 \
                 size    5639992
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+subport ${name} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    conflicts   ${name}-devel
</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;'>+subport ${name}-devel {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    conflicts   ${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    version     3.7.5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    revision    0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    checksums   rmd160  4be3aae4df103b5fd6835f6abf6f6b98d6424699 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                sha256  1f85028475b4f255cc5b480af0c37e61eab43024c1507c8b75d6be506c0553ad \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                size    6321392
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # Note: configure script detects zstd, but flags it as missing anyway
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                --disable-dependency-tracking \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                --disable-heartbeat-support \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                --without-brotli \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                --without-zstd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    variant brotli description {Build brotli support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                port:brotli
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        configure.args-delete \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                --without-brotli
</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;'>+    if {${build_arch} ne "ppc" || ${build_arch} ne "ppc64"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        # see: https://gitlab.com/gnutls/gnutls/-/issues/1370
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        # and https://github.com/macports/macports-ports/pull/14613
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        configure.args-append   --disable-hardware-acceleration
</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><span style='display:block; white-space:pre;background:#e0ffe0;'>+set branch      [join [lrange [split ${version} .] 0 1] .]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set major       [join [lrange [split ${version} .] 0 2] .]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites    https://www.gnupg.org/ftp/gcrypt/gnutls/v${branch}/ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                https://mirrors.dotsrc.org/gcrypt/gnutls/v${branch}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> use_xz          yes
 
 # deal with minor updates that extract to major version number
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -55,17 +93,19 @@ depends_lib-append \
</span>                 port:nettle \
                 port:zlib
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles      patch-lib-system-certs.c.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append implicit.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles      patch-lib-system-certs.c.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                implicit.patch
</span> 
 post-patch {
     # Remove comments which confuse at least Leopard's assembler.
     reinplace {/^#/d} {*}[glob ${worksrcpath}/lib/accelerated/x86/macosx/*.s]
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args  --disable-guile \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                --disable-silent-rules \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                --disable-guile \
</span>                 --disable-libdane \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+                --disable-silent-rules \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                --disable-static \
</span>                 --enable-local-libopts \
                 --enable-openssl-compatibility \
                 --with-p11-kit \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -73,6 +113,7 @@ configure.args  --disable-guile \
</span>                 --with-default-trust-store-pkcs11=pkcs11: \
                 ac_cv_prog_AWK=/usr/bin/awk
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> compiler.thread_local_storage yes
 
 # Undefined symbols for architecture x86_64: "___get_cpuid_count"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -140,10 +181,22 @@ if {${universal_possible} && [variant_isset universal]} {
</span>     set merger_host(i386) i686-apple-${os.platform}${os.major}
     set merger_configure_args(x86_64) --build=x86_64-apple-${os.platform}${os.major}
     set merger_configure_args(i386) --build=i686-apple-${os.platform}${os.major}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    set merger_host(ppc) powerpc-apple-${os.platform}${os.major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    set merger_host(ppc64) powerpc64-apple-${os.platform}${os.major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    set merger_configure_args(ppc) --build=powerpc-apple-${os.platform}${os.major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    set merger_configure_args(ppc64) --build=powerpc64-apple-${os.platform}${os.major}
</span> } elseif {${build_arch} eq "i386"} {
     configure.args-append \
         --host=i686-apple-${os.platform}${os.major} \
         --build=i686-apple-${os.platform}${os.major}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+} elseif {${build_arch} eq "ppc"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        --host=powerpc-apple-${os.platform}${os.major} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        --build=powerpc-apple-${os.platform}${os.major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} elseif {${build_arch} eq "ppc64"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        --host=powerpc64-apple-${os.platform}${os.major} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        --build=powerpc64-apple-${os.platform}${os.major}
</span> } else {
     configure.args-append \
         --host=${build_arch}-apple-${os.platform}${os.major} \
</pre><pre style='margin:0'>

</pre>