<pre style='margin:0'>
Mojca Miklavec (mojca) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d82c06f238d655873d02726343e94035fbea6a03">https://github.com/macports/macports-ports/commit/d82c06f238d655873d02726343e94035fbea6a03</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 d82c06f yarn: use older NodeJS on <= 10.6, typo in email
</span>d82c06f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit d82c06f238d655873d02726343e94035fbea6a03
</span>Author: Andrew Pinkham <code@andrewsforge.com>
AuthorDate: Wed Dec 28 12:54:38 2016 -0500
<span style='display:block; white-space:pre;color:#404040;'> yarn: use older NodeJS on <= 10.6, typo in email
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fix a typo in maintainer's email
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Node JS 6 cannot be installed on Mac OS X 10.6 (Snow Leopard)
</span><span style='display:block; white-space:pre;color:#404040;'> and earlier. This change checks the major OS version and uses
</span><span style='display:block; white-space:pre;color:#404040;'> Node JS version 4 when appropriate.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/53166
</span>---
devel/yarn/Portfile | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
<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 dfc1465..f5d6f9c 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;'>@@ -13,7 +13,7 @@ supported_archs noarch
</span> license BSD
maintainers andrewsforge.com:code \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- gmail.com:isomacrte \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gmail.com:isomarcte \
</span> openmaintainer
description JavaScript dependency manager
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -32,6 +32,14 @@ checksums rmd160 c806b890b1e348e35256191d52681d220e73a5b8 \
</span>
depends_run bin:node:nodejs6
<span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Fix for https://trac.macports.org/ticket/53166
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Mac OS X 10.6 Snow Leopard and earlier cannot install Node JS v6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} < 11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run-replace bin:node:nodejs6 bin:node:nodejs4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> patchfiles patch-0001-Allow-yarn-script-to-be-linked.patch
use_configure no
</pre><pre style='margin:0'>
</pre>