aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2010-06-25 14:45:50 -0700
committerAdam Vandenberg2010-06-25 14:49:37 -0700
commita31ac45925de359010115aa50b5da21cda25b84a (patch)
tree9f852e5231c0fd8241c3ba9c37ee84fb6b4065bf /Library
parent3575657169102a2879477166f408bb265b61f808 (diff)
downloadhomebrew-a31ac45925de359010115aa50b5da21cda25b84a.tar.bz2
CouchDB was not finding Erlang
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/couchdb.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/couchdb.rb b/Library/Formula/couchdb.rb
index 1fa74db74..36652be50 100644
--- a/Library/Formula/couchdb.rb
+++ b/Library/Formula/couchdb.rb
@@ -11,15 +11,13 @@ class Couchdb <Formula
depends_on 'erlang'
def install
- erlang = Formula.factory "erlang"
- js = Formula.factory "spidermonkey"
system "./bootstrap" if File.exists? "bootstrap"
system "./configure", "--prefix=#{prefix}",
"--localstatedir=#{var}",
"--sysconfdir=#{etc}",
- "--with-erlang=#{erlang.lib}/erlang/usr/include",
- "--with-js-include=#{js.include}",
- "--with-js-lib=#{js.lib}"
+ "--with-erlang=#{HOMEBREW_PREFIX}/lib/erlang/usr/include",
+ "--with-js-include=#{HOMEBREW_PREFIX}/include",
+ "--with-js-lib=#{HOMEBREW_PREFIX}/lib"
system "make"
system "make install"