<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/f7f627727bfa69352900358d85bafca9f1705ad5">https://github.com/macports/macports-ports/commit/f7f627727bfa69352900358d85bafca9f1705ad5</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit f7f627727bfa69352900358d85bafca9f1705ad5
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Mon Aug 14 22:54:39 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> go: install go.env if present
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/67961
</span>---
lang/go/Portfile | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/go/Portfile b/lang/go/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index cbfe26b7ec3..21d3220fc26 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/go/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/go/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,13 +19,13 @@ epoch 3
</span> if {${os.platform} eq "darwin" && ${os.major} < 17} {
version 1.17.13
set unsupported_macos true
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span> } else {
version 1.21.0
set unsupported_macos false
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 1
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> set legacy_build false
# Subport for Go Unstable Version
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -305,6 +305,10 @@ destroot {
</span> ${docdir}
copy {*}[glob -directory ${worksrcpath}/doc *] ${docdir}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [ file exists ${worksrcpath}/go.env ] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${worksrcpath}/go.env ${grfdir}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
if {${os.platform} eq "darwin" && ${os.major} < 10} {
</pre><pre style='margin:0'>
</pre>