CouchDB - tweak path references
This commit is contained in:
parent
2cee739ce0
commit
e70c7263dd
1 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue