aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorEtienne Laurin2015-04-14 10:38:43 -0700
committerMike McQuaid2015-04-14 22:39:48 -0700
commit43b9a11115a0ec38de6c857f256925f31b797959 (patch)
treee965a792d9a11fba04c6c3d0698a9dcaa7372e4f /Library/Formula
parentf3114056d0e5bec33939c5d6e37011664341cc30 (diff)
downloadhomebrew-43b9a11115a0ec38de6c857f256925f31b797959.tar.bz2
RethinkDB 2.0.0
Closes #38643. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/rethinkdb.rb15
1 files changed, 3 insertions, 12 deletions
diff --git a/Library/Formula/rethinkdb.rb b/Library/Formula/rethinkdb.rb
index 5b27d120a..6675d2dec 100644
--- a/Library/Formula/rethinkdb.rb
+++ b/Library/Formula/rethinkdb.rb
@@ -1,7 +1,7 @@
class Rethinkdb < Formula
homepage "http://www.rethinkdb.com/"
- url "http://download.rethinkdb.com/dist/rethinkdb-1.16.3.tgz"
- sha1 "87c58fd94393713ecf898b9e9d0db1ebd570f119"
+ url "http://download.rethinkdb.com/dist/rethinkdb-2.0.0-1.tgz"
+ sha1 "8eb3d5d1d5b4de62cb7dff8d53ed403ae7b9984e"
bottle do
sha256 "412fe590323b38e77e59cc4c0c1712ab917f0710653eeb4f86f7c6b144e02f1d" => :yosemite
@@ -10,11 +10,9 @@ class Rethinkdb < Formula
end
depends_on :macos => :lion
- # Embeds an older V8, whose gyp still requires the full Xcode
- # Reported upstream: https://github.com/rethinkdb/rethinkdb/issues/2581
- depends_on :xcode => :build
depends_on "boost" => :build
depends_on "openssl"
+ depends_on "icu4c"
fails_with :gcc do
build 5666 # GCC 4.2.1
@@ -24,17 +22,10 @@ class Rethinkdb < Formula
def install
args = ["--prefix=#{prefix}"]
- # brew's v8 is too recent. rethinkdb uses an older v8 API
- args += ["--fetch", "v8"]
-
# rethinkdb requires that protobuf be linked against libc++
# but brew's protobuf is sometimes linked against libstdc++
args += ["--fetch", "protobuf"]
- # support gcc with boost 1.56
- # https://github.com/rethinkdb/rethinkdb/issues/3044#issuecomment-55471981
- args << "CXXFLAGS=-DBOOST_VARIANT_DO_NOT_USE_VARIADIC_TEMPLATES"
-
system "./configure", *args
system "make"
system "make", "install-osx"