node: backport for npm issue
This commit is contained in:
parent
aea7c3e1e5
commit
e99498ca6b
1 changed files with 6 additions and 0 deletions
|
@ -27,6 +27,12 @@ class Node < Formula
|
|||
end
|
||||
|
||||
def install
|
||||
# This fixes an issue with npm segfaulting. See:
|
||||
# https://github.com/joyent/node/issues/2061
|
||||
# This can be removed when some version newer than 7.7 lands
|
||||
# that has this fix. When updating this formula, please check!
|
||||
ENV.append_to_cflags '-D__DARWIN_64_BIT_INO_T'
|
||||
|
||||
unless ARGV.build_devel?
|
||||
inreplace 'wscript' do |s|
|
||||
s.gsub! '/usr/local', HOMEBREW_PREFIX
|
||||
|
|
Loading…
Reference in a new issue