<pre style='margin:0'>
Chih-Hsuan Yen (yan12125) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2f34af36937b411f1444a2b2d46c10ef775fb146">https://github.com/macports/macports-ports/commit/2f34af36937b411f1444a2b2d46c10ef775fb146</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 2f34af36937b411f1444a2b2d46c10ef775fb146
</span>Author: Chih-Hsuan Yen <yan12125@macports.org>
AuthorDate: Sun Apr 28 21:48:26 2019 +0800
<span style='display:block; white-space:pre;color:#404040;'> yarn: switch to nodejs6 for older systems
</span>---
devel/yarn/Portfile | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/yarn/Portfile b/devel/yarn/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index da9a0f9..f0af9c6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/yarn/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/yarn/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,6 +4,7 @@ PortSystem 1.0
</span> PortGroup github 1.0
github.setup yarnpkg yarn 1.15.2 v
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span>
categories devel
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,11 +34,7 @@ checksums rmd160 53d9f9d4d6dcc2214915f05a498c78535f6b59ef \
</span> depends_run path:bin/node:nodejs10
platform darwin {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # Fix for https://trac.macports.org/ticket/53166
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Mac OS X 10.6 Snow Leopard and earlier cannot install Node JS v6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} < 11} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_run-replace path:bin/node:nodejs10 path:bin/node:nodejs4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } elseif {${os.major} < 13} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} < 13} {
</span> depends_run-replace path:bin/node:nodejs10 path:bin/node:nodejs6
}
}
</pre><pre style='margin:0'>
</pre>