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

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/03678182982cb773d5c8fb4b1f8bc806759b45b4">https://github.com/macports/macports-ports/commit/03678182982cb773d5c8fb4b1f8bc806759b45b4</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 03678182982 gh: add legacysupport lib for 10.11 and earlier
</span>03678182982 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 03678182982cb773d5c8fb4b1f8bc806759b45b4
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Tue Aug 24 11:20:21 2021 -0400

<span style='display:block; white-space:pre;color:#404040;'>    gh: add legacysupport lib for 10.11 and earlier
</span>---
 devel/gh/Portfile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/gh/Portfile b/devel/gh/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 036ded9740c..3af5e36c7c1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/gh/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/gh/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -86,11 +86,11 @@ destroot {
</span>     xinstall -m 0755 -W ${worksrcpath} bin/gh ${destroot}${prefix}/bin
 
     if {!$source_build} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        # gh works on 10.10 and newer without legacysupport. standard
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        # legacysupport tweaks don't work, since the install here is from
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        # a binary tarball ... have to tweak the binary to use the legacy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        # standard legacysupport tweaks don't work, since the install here is
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        # from a binary tarball ... have to tweak the binary to use the legacy
</span>         # support library, which in turn uses the System.B library.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        if {${os.major} <= 13} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        # Add legacysupport for 10.11 and older for clock_gettime support
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        if {${os.major} <= 15} {
</span>             system -W ${destroot}${prefix}/bin "install_name_tool -change /usr/lib/libSystem.B.dylib ${prefix}/lib/libMacportsLegacySupport.dylib gh"
         }
     }
</pre><pre style='margin:0'>

</pre>