aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/node.rb
diff options
context:
space:
mode:
authorLee Packham2011-11-05 10:13:23 +0000
committerJack Nagel2011-11-05 22:00:10 -0500
commit6bec7fc9e86676c0d701c5712376cdbe13ec615f (patch)
treecc8cd523e2f56404e18bd76708fa68b7d5ef0b88 /Library/Formula/node.rb
parent0789b6edcd5267ba639fea185336dd4a4d2b2f4b (diff)
downloadhomebrew-6bec7fc9e86676c0d701c5712376cdbe13ec615f.tar.bz2
node 0.6.0
New stable version of node. However, it appears upstream have broken parallel builds. Rather than try and fix that, I went for deparallelize instead. Closes #8460. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/node.rb')
-rw-r--r--Library/Formula/node.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb
index d0c0924c1..452254aac 100644
--- a/Library/Formula/node.rb
+++ b/Library/Formula/node.rb
@@ -1,10 +1,10 @@
require 'formula'
class Node < Formula
- url 'http://nodejs.org/dist/node-v0.4.12.tar.gz'
+ url 'http://nodejs.org/dist/v0.6.0/node-v0.6.0.tar.gz'
head 'https://github.com/joyent/node.git'
homepage 'http://nodejs.org/'
- md5 'a6375eaa43db5356bf443e25b828ae16'
+ md5 'c05f2dadd4d82c0d72dbc116e82cfc0e'
# Leopard OpenSSL is not new enough, so use our keg-only one
depends_on 'openssl' if MacOS.leopard?
@@ -27,6 +27,10 @@ class Node < Formula
args = ["--prefix=#{prefix}"]
args << "--debug" if ARGV.include? '--debug'
+ # v0.6.0 appears to have a bug in parallel building
+ # so we'll -j1 it for now
+ ENV.deparallelize
+
system "./configure", *args
system "make install"
end