<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/74667bd8c754f5448e20ce7cb2d0e5d947af6a4d">https://github.com/macports/macports-ports/commit/74667bd8c754f5448e20ce7cb2d0e5d947af6a4d</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 74667bd8c75 7zip: attempt to fix build on macos 10.13 and earlier
</span>74667bd8c75 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 74667bd8c754f5448e20ce7cb2d0e5d947af6a4d
</span>Author: Sriranga Veeraraghavan <srirangav@users.noreply.github.com>
AuthorDate: Sun Apr 3 23:53:45 2022 -0700

<span style='display:block; white-space:pre;color:#404040;'>    7zip: attempt to fix build on macos 10.13 and earlier
</span>---
 archivers/7zip/Portfile | 41 ++++++++++++++++++++++-------------------
 1 file changed, 22 insertions(+), 19 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/archivers/7zip/Portfile b/archivers/7zip/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index eaac2a0c79d..699ce63135b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/archivers/7zip/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/archivers/7zip/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,8 +1,12 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 
 PortSystem          1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup           legacysupport 1.1
</span> PortGroup           makefile 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup           clang_dependency 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup           compiler_blacklist_versions 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# utimensat
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+legacysupport.newest_darwin_requires_legacy 16
</span> 
 name                7zip
 version             21.07
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,38 +31,37 @@ master_sites        ${homepage}/a/
</span> supported_archs     arm64 x86_64
 
 use_xz              yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-distname            7z2107-src
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname            7z[string map {. {}} ${version}]-src
</span> 
 checksums           rmd160  f61c0fd91ecd9b9bad37d92bf2a871371886718b \
                     sha256  213d594407cb8efcba36610b152ca4921eda14163310b43903d13e68313e1e39 \
                     size    1230388
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-use_configure       no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.cmd           make
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patch.dir           ${workpath}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+extract.mkdir       yes
</span> patchfiles          patch-7zip_gcc_mak.diff
<span style='display:block; white-space:pre;background:#ffe0e0;'>-      
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# uses newer assembly features on Intel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append  {*gcc-[3-4].*} {clang < 800} {macports-clang-3.*}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.dir ${worksrcpath}/CPP/7zip/Bundles/Alone2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if {${build_arch} eq "x86_64"} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    build {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        system -W ${workpath}/CPP/7zip/Bundles/Alone2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        "${build.cmd} -j -f ../../cmpl_mac_x64.mak"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    build.args-append -f ../../cmpl_mac_x64.mak
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>     destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        xinstall -m 755 -d ${destroot}${prefix}/bin
</span>         xinstall -m 755 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                 -s ${workpath}/CPP/7zip/Bundles/Alone2/b/m_x64/7zz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                 -s ${worksrcpath}/CPP/7zip/Bundles/Alone2/b/m_x64/7zz \
</span>                  ${destroot}${prefix}/bin
     }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> } elseif {${build_arch} eq "arm64"} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    build {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        system -W ${workpath}/CPP/7zip/Bundles/Alone2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        "${build.cmd} -j -f ../../cmpl_mac_arm64.mak"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    build.args-append -f ../../cmpl_mac_arm64.mak
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>     destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        xinstall -m 755 -d ${destroot}${prefix}/bin
</span>         xinstall -m 755 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                 -s ${workpath}/CPP/7zip/Bundles/Alone2/b/m_arm64/7zz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                 -s ${worksrcpath}/CPP/7zip/Bundles/Alone2/b/m_arm64/7zz \
</span>                  ${destroot}${prefix}/bin
     }
 }
</pre><pre style='margin:0'>

</pre>