diff options
| author | Mathias Meyer | 2009-10-14 18:38:51 +0200 |
|---|---|---|
| committer | Max Howell | 2009-10-15 15:17:49 +0100 |
| commit | d48272f20d68cb606d2ae77df06a532786e27169 (patch) | |
| tree | a2c9490e7c1df5ae9be752986c0a24921cf9f132 /Library/Formula | |
| parent | a0c066861d73ab1a74bd91b640525f9d2e95461d (diff) | |
| download | homebrew-d48272f20d68cb606d2ae77df06a532786e27169.tar.bz2 | |
A workaround for spidermonkey wonkiness to create a working couchjs binary.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/couchdb.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/couchdb.rb b/Library/Formula/couchdb.rb index c6bfc03b1..dac18ae70 100644 --- a/Library/Formula/couchdb.rb +++ b/Library/Formula/couchdb.rb @@ -17,6 +17,10 @@ class Couchdb <Formula system "make" 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+'log'+'couchdb').mkpath end |
