diff --git a/Formula/rethinkdb.rb b/Formula/rethinkdb.rb index e30a4d2202..6c90c33870 100644 --- a/Formula/rethinkdb.rb +++ b/Formula/rethinkdb.rb @@ -2,11 +2,12 @@ require 'formula' class Rethinkdb < Formula homepage 'http://www.rethinkdb.com/' - url 'http://download.rethinkdb.com/dist/rethinkdb-1.10.0.tgz' - sha1 '9c185d827b8714838d25fabcd289036f8d30059a' + url 'http://download.rethinkdb.com/dist/rethinkdb-1.10.1.tgz' + sha1 '8ef081b20f5677d00da68265fe83d09377784eba' depends_on :macos => :lion depends_on 'boost' => :build + depends_on 'protobuf' if MacOS.version >= :mavericks fails_with :gcc do build 5666 # GCC 4.2.1 @@ -14,7 +15,9 @@ class Rethinkdb < Formula end def install - system "./configure", "--prefix=#{prefix}", "--fetch", "protobuf" + args = ["--prefix=#{prefix}", "--fetch", "v8"] + args += ["--fetch", "protobuf"] unless MacOS.version >= :mavericks + system "./configure", *args system "make" system "make install-osx" end