aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/couchdb.rb12
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