aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorEtienne Laurin2013-12-06 14:09:35 -0800
committerAdam Vandenberg2013-12-06 18:47:03 -0800
commitd7691b4bec9f8a62b8d8c7fb2b05a396f05f1d52 (patch)
tree7f9774ec38591b3c9908eac5404e422b4802191e /Library
parent6ec705b34031d17124112a8eb4d4669622a93aae (diff)
downloadhomebrew-d7691b4bec9f8a62b8d8c7fb2b05a396f05f1d52.tar.bz2
RethinkDB 1.11.2
Closes #25007. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/rethinkdb.rb16
1 files changed, 11 insertions, 5 deletions
diff --git a/Library/Formula/rethinkdb.rb b/Library/Formula/rethinkdb.rb
index 730ae5f51..24f2b1ece 100644
--- a/Library/Formula/rethinkdb.rb
+++ b/Library/Formula/rethinkdb.rb
@@ -2,12 +2,11 @@ require 'formula'
class Rethinkdb < Formula
homepage 'http://www.rethinkdb.com/'
- url 'http://download.rethinkdb.com/dist/rethinkdb-1.11.1.tgz'
- sha1 'f111aa2ffcd353283ae9c3bbba8a8cbf8348621e'
+ url 'http://download.rethinkdb.com/dist/rethinkdb-1.11.2.tgz'
+ sha1 '06edac5fa1daa5e611faabfac2b77edbe82d9934'
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
@@ -15,8 +14,15 @@ class Rethinkdb < Formula
end
def install
- args = ["--prefix=#{prefix}", "--fetch", "v8"]
- args += ["--fetch", "protobuf"] unless MacOS.version >= :mavericks
+ 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"]
+
system "./configure", *args
system "make"
system "make install-osx"