<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d3e6212f1df312a5cbb95713ea4294340db41685">https://github.com/macports/macports-ports/commit/d3e6212f1df312a5cbb95713ea4294340db41685</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 d3e6212 go: Verify OS is Darwin before checking its version
</span>d3e6212 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit d3e6212f1df312a5cbb95713ea4294340db41685
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Wed Sep 27 03:47:15 2017 -0500
<span style='display:block; white-space:pre;color:#404040;'> go: Verify OS is Darwin before checking its version
</span>---
lang/go/Portfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
<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 352a71e..de3a93c 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;'>@@ -97,7 +97,7 @@ destroot {
</span> copy {*}[glob -directory ${worksrcpath}/doc *] ${docdir}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${os.major} < 12} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} < 12} {
</span> pre-fetch {
ui_error "${name} ${version} requires Mac OS X 10.8 or greater."
return -code error "incompatible Mac OS X version"
</pre><pre style='margin:0'>
</pre>