diff options
| author | Adam Vandenberg | 2010-03-26 22:48:41 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-03-26 23:08:59 -0700 |
| commit | b622baea99e3034d1743689de817c25429cb0529 (patch) | |
| tree | 983fa7c3a9e7f123d58e69a941e6c3dcd55e0d04 /Library | |
| parent | abdc998fb6b84bf3814528a219e04aca0907ea24 (diff) | |
| download | homebrew-b622baea99e3034d1743689de817c25429cb0529.tar.bz2 | |
CouchDB - tweak path references
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/couchdb.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Library/Formula/couchdb.rb b/Library/Formula/couchdb.rb index e0b6c4b1d..b545d24f8 100644 --- a/Library/Formula/couchdb.rb +++ b/Library/Formula/couchdb.rb @@ -17,14 +17,14 @@ class Couchdb <Formula system "./configure", "--prefix=#{prefix}", "--localstatedir=#{var}", "--sysconfdir=#{etc}", - "--with-erlang=#{erlang.prefix}/lib/erlang/usr/include", - "--with-js-include=#{js.prefix}/include", - "--with-js-lib=#{js.prefix}/lib" + "--with-erlang=#{erlang.lib}/erlang/usr/include", + "--with-js-include=#{js.include}", + "--with-js-lib=#{js.lib}" system "make" system "make install" - (prefix+"lib/couchdb/bin/couchjs").chmod 0755 - (var+'lib'+'couchdb').mkpath - (var+'log'+'couchdb').mkpath + (lib+'couchdb/bin/couchjs').chmod 0755 + (var+'lib/couchdb').mkpath + (var+'log/couchdb').mkpath end end |
