<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/d1ee4a1443a88b383f784f83d56b92a7dd22f930">https://github.com/macports/macports-ports/commit/d1ee4a1443a88b383f784f83d56b92a7dd22f930</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 d1ee4a1443a tailscale: attempt to fix build on older Darwin versions
</span>d1ee4a1443a is described below

<span style='display:block; white-space:pre;color:#808000;'>commit d1ee4a1443a88b383f784f83d56b92a7dd22f930
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Wed Jun 9 00:57:00 2021 -0400

<span style='display:block; white-space:pre;color:#404040;'>    tailscale: attempt to fix build on older Darwin versions
</span>---
 net/tailscale/Portfile | 24 ++++++++++++++++--------
 1 file changed, 16 insertions(+), 8 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/tailscale/Portfile b/net/tailscale/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 53057af9c8e..88c912e2cd8 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/tailscale/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/tailscale/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,6 +27,7 @@ checksums           rmd160  e5c962b49da5fc733e8608444bce894edd13d157 \
</span> 
 github.tarball_from archive
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+set ts_build_sh     ${worksrcpath}/_build.sh
</span> set ts_log_dir      ${prefix}/var/log/tailscale
 
 startupitem.create  yes
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,19 +42,26 @@ build.env-append    VERSION_LONG=${version} \
</span>                     VERSION_SHORT=${version} \
                     VERSION_GIT_HASH=non-git
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+build.cmd           ${ts_build_sh}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.keepdirs-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    ${destroot}${ts_log_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    set build_script [open "${ts_build_sh}" w+]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    puts ${build_script} "#!/bin/sh"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    puts ${build_script} "./build_dist.sh ./cmd/${name}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    puts ${build_script} "./build_dist.sh ./cmd/${name}d"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    close ${build_script}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    file attributes ${ts_build_sh} -permissions ug+rx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> patch {
     # Disable running the version detection script, which tries to use git.
     reinplace -E "s/^eval/# eval/g" ${worksrcpath}/build_dist.sh
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-build {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    system -W ${worksrcpath} "${build.env} ./build_dist.sh ./cmd/${name}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    system -W ${worksrcpath} "${build.env} ./build_dist.sh ./cmd/${name}d"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.keepdirs-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    ${destroot}${ts_log_dir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> destroot {
     xinstall -d ${destroot}${ts_log_dir}
     xinstall -m 0755 ${worksrcpath}/tailscale  ${destroot}${prefix}/bin/
</pre><pre style='margin:0'>

</pre>