diff options
| author | John Earles | 2011-12-01 22:19:47 -0500 |
|---|---|---|
| committer | Charlie Sharpsteen | 2011-12-02 22:26:32 -0800 |
| commit | 40d45f04b623c5c410f1adb1be82e602293866b9 (patch) | |
| tree | d99cc61e4e89f1c8caca79872f3a1d9955633deb /Library/Formula/node.rb | |
| parent | c8946ecc4a2f8c81d57b0634a05cadc39d6d517e (diff) | |
| download | homebrew-40d45f04b623c5c410f1adb1be82e602293866b9.tar.bz2 | |
node: Update to 0.6.4
Update node to 0.6.4. Added --without-npm option.
Added caveat regarding npm installation.
Closes #8925.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library/Formula/node.rb')
| -rw-r--r-- | Library/Formula/node.rb | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb index faf8eb011..d031e99ee 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/v0.6.2/node-v0.6.2.tar.gz' + url 'http://nodejs.org/dist/v0.6.4/node-v0.6.4.tar.gz' head 'https://github.com/joyent/node.git' homepage 'http://nodejs.org/' - md5 '875431b2c2e3d0ebf5a676b3d96bf766' + md5 'a170bef450de365720223c3af3747bf7' # Leopard OpenSSL is not new enough, so use our keg-only one depends_on 'openssl' if MacOS.leopard? @@ -24,7 +24,7 @@ class Node < Formula s.gsub! '/opt/local/lib', '/usr/lib' end - args = ["--prefix=#{prefix}"] + args = ["--prefix=#{prefix}", "--without-npm"] args << "--debug" if ARGV.include? '--debug' # v0.6 appears to have a bug in parallel building @@ -36,6 +36,14 @@ class Node < Formula end def caveats - "Please add #{HOMEBREW_PREFIX}/lib/node_modules to your NODE_PATH environment variable to have node libraries picked up." + <<-EOS.undent + Homebrew has NOT installed npm. We recommend the following method of + installation: + curl http://npmjs.org/install.sh | sh + + After installing, add the following path to your NODE_PATH enviornment + variable to have npm libraries picked up: + #{HOMEBREW_PREFIX}/lib/node_modules + EOS end end |
