<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/ccef772239998a0a7480721bc225b9e7063fed29">https://github.com/macports/macports-ports/commit/ccef772239998a0a7480721bc225b9e7063fed29</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 ccef7722399 7zip: fix legacysupport linking on macOS 10.12 and older
</span>ccef7722399 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit ccef772239998a0a7480721bc225b9e7063fed29
</span>Author: aeiouaeiouaeiouaeiouaeiouaeiou <aeioudev@outlook.com>
AuthorDate: Thu Jun 30 05:19:06 2022 +0300

<span style='display:block; white-space:pre;color:#404040;'>    7zip: fix legacysupport linking on macOS 10.12 and older
</span>---
 archivers/7zip/Portfile | 8 ++++++++
 1 file changed, 8 insertions(+)

<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 73f71bea9bc..8ffa23108a7 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;'>@@ -51,6 +51,14 @@ compiler.blacklist-append  {*gcc-[3-4].*} {clang < 800} {macports-clang-3.*}
</span> 
 build.dir ${worksrcpath}/CPP/7zip/Bundles/Alone2
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Force dynamic linking to use libMacportsLegacySupport.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} < 17} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        reinplace "s|LDFLAGS = $\(\LDFLAGS_STATIC\)\|LDFLAGS += $\(\LDFLAGS_STATIC\)\|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        ${worksrcpath}/CPP/7zip/7zip_gcc.mak
</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 {${build_arch} eq "x86_64"} {
 
     build.args-append -f ../../cmpl_mac_x64.mak
</pre><pre style='margin:0'>

</pre>