aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mongodb.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/Library/Formula/mongodb.rb b/Library/Formula/mongodb.rb
index 40ee223ff..2620633cf 100644
--- a/Library/Formula/mongodb.rb
+++ b/Library/Formula/mongodb.rb
@@ -20,6 +20,17 @@ class Mongodb < Formula
depends_on 'scons' => :build
depends_on 'openssl' => :optional
+ if build.stable?
+ # https://github.com/mxcl/homebrew/issues/24741
+ fails_with :clang do
+ cause <<-EOS.undent
+ Embedded V8 has runtime bugs, Clang unsupported for 2.4. See:
+ https://github.com/mxcl/homebrew/issues/24741
+ https://jira.mongodb.org/browse/SERVER-11570
+ EOS
+ end
+ end
+
def install
# mongodb currently can't build with libc++; this should be fixed in
# 2.6, but can't be backported to the current stable release.