aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2010-07-21 19:33:59 -0700
committerAdam Vandenberg2010-07-23 12:19:41 -0700
commit59d943be33ec3053966d7d2a79003eef2d52a0cc (patch)
treee9090da6ffd59829226e023e6d70bf3ebbcea860 /Library
parent0a9f5732f8b7cdce15161665ab69a14a6fe6cdaf (diff)
downloadhomebrew-59d943be33ec3053966d7d2a79003eef2d52a0cc.tar.bz2
cleanup node
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/node.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb
index fb2edd7ff..62a4eefb2 100644
--- a/Library/Formula/node.rb
+++ b/Library/Formula/node.rb
@@ -8,18 +8,19 @@ class Node <Formula
aka 'node.js'
+ # Stripping breaks dynamic loading
def skip_clean? path
- # TODO: at some point someone should tweak this so it only skips clean
- # for the bits that break the build otherwise
true
end
def install
fails_with_llvm
+
inreplace %w{wscript configure} do |s|
s.gsub! '/usr/local', HOMEBREW_PREFIX
s.gsub! '/opt/local/lib', '/usr/lib'
end
+
system "./configure", "--prefix=#{prefix}"
system "make install"
end