mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-29 12:29:40 -05:00
Fixes #757; Node.js hardcodes some paths
This way we can install anywhere, not just /usr/local and /opt/local.
This commit is contained in:
1 parent
a47ddd8868
commit
d03ebe3de0
1 file changed
+4
@@ -17,6 +17,10 @@ class Node <Formula
|
||||
end
|
||||
|
||||
def install
|
||||
inreplace %w{wscript configure} do |wscript|
|
||||
wscript.gsub! '/usr/local', HOMEBREW_PREFIX
|
||||
wscript.gsub! '/opt/local/lib', '/usr/lib'
|
||||
end
|
||||
ENV.gcc_4_2
|
||||
system "./configure", "--prefix=#{prefix}"
|
||||
system "make install"
|
||||
|
||||
Reference in new issue
Block a user