A workaround for spidermonkey wonkiness to create a working couchjs binary.
This commit is contained in:
parent
9269a91eba
commit
37bfe6b568
1 changed files with 4 additions and 0 deletions
|
@ -17,6 +17,10 @@ class Couchdb <Formula
|
||||||
system "make"
|
system "make"
|
||||||
system "make install"
|
system "make install"
|
||||||
|
|
||||||
|
couchjs = "#{prefix}/lib/couchdb/bin/couchjs"
|
||||||
|
system "chmod 755 #{couchjs}"
|
||||||
|
system "install_name_tool -change Darwin_DBG.OBJ/libjs.dylib #{HOMEBREW_PREFIX}/lib/libjs.dylib #{couchjs}"
|
||||||
|
|
||||||
(var+'lib'+'couchdb').mkpath
|
(var+'lib'+'couchdb').mkpath
|
||||||
(var+'log'+'couchdb').mkpath
|
(var+'log'+'couchdb').mkpath
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue