aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/arangodb.rb
diff options
context:
space:
mode:
authorFrank Celler2014-07-12 20:47:14 +0200
committerMisty De Meo2014-07-18 18:25:26 -0700
commit4359609c9de3915cf4ca3854ab5b7e09688ee2a5 (patch)
treea4445d3a08412fecaefd4d808c70e1db37a3e9e2 /Library/Formula/arangodb.rb
parent1070de2355434e03f099f5ea367a6cde7ae68e42 (diff)
downloadhomebrew-4359609c9de3915cf4ca3854ab5b7e09688ee2a5.tar.bz2
arangodb 2.2.0
Closes #30895. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library/Formula/arangodb.rb')
-rw-r--r--Library/Formula/arangodb.rb18
1 files changed, 16 insertions, 2 deletions
diff --git a/Library/Formula/arangodb.rb b/Library/Formula/arangodb.rb
index 1d774d223..4b752f7bb 100644
--- a/Library/Formula/arangodb.rb
+++ b/Library/Formula/arangodb.rb
@@ -2,8 +2,8 @@ require 'formula'
class Arangodb < Formula
homepage 'http://www.arangodb.org/'
- url 'https://github.com/triAGENS/ArangoDB/archive/v2.1.2.tar.gz'
- sha1 '3f6cc8c7dc757f995c61effcd74523e0f5a60f98'
+ url 'https://www.arangodb.org/repositories/Source/ArangoDB-2.2.0.tar.gz'
+ sha1 '6c1886c606f73f9d3dfbc3d58293cc4f47a07491'
head "https://github.com/triAGENS/ArangoDB.git", :branch => 'unstable'
@@ -15,6 +15,8 @@ class Arangodb < Formula
depends_on 'go' => :build
+ needs :cxx11
+
def suffix
if build.stable?
return ""
@@ -24,6 +26,18 @@ class Arangodb < Formula
end
def install
+ # clang on 10.8 will still try to build against libstdc++,
+ # which fails because it doesn't have the C++0x features
+ # arangodb requires.
+ ENV.libcxx
+
+ # Bundled V8 tries to build with a 10.5 deployment target,
+ # which causes clang to error out b/c a 10.5 deployment target
+ # and -stdlib=libc++ are not valid together.
+ inreplace "3rdParty/V8/build/standalone.gypi",
+ "'mac_deployment_target%': '10.5',",
+ "'mac_deployment_target%': '#{MacOS.version}',"
+
args = %W[
--disable-dependency-tracking
--prefix=#{prefix}