aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/node.rb2
-rw-r--r--Library/Formula/ruby.rb2
-rw-r--r--Library/Homebrew/formula.rb7
3 files changed, 8 insertions, 3 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb
index a92022f7c..8784556ab 100644
--- a/Library/Formula/node.rb
+++ b/Library/Formula/node.rb
@@ -9,7 +9,7 @@ class Node < Formula
# Leopard OpenSSL is not new enough, so use our keg-only one
depends_on 'openssl' if MacOS.leopard?
- fails_with_llvm
+ fails_with_llvm :build => 2326 if MacOS.lion?
# Stripping breaks dynamic loading
skip_clean :all
diff --git a/Library/Formula/ruby.rb b/Library/Formula/ruby.rb
index 5f8e0b49f..2f8f9b2ee 100644
--- a/Library/Formula/ruby.rb
+++ b/Library/Formula/ruby.rb
@@ -9,7 +9,7 @@ class Ruby < Formula
depends_on 'readline'
depends_on 'libyaml'
- fails_with_llvm
+ fails_with_llvm :build => 2326 if MacOS.lion?
# Stripping breaks dynamic linking
skip_clean :all
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 7033a1e51..ca7885983 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -76,7 +76,12 @@ class FailsWithLLVM
attr_reader :msg, :data, :build
def initialize msg=nil, data=nil
- @msg = msg || "(No specific reason was given)"
+ if msg.nil? or msg.kind_of? Hash
+ @msg = "(No specific reason was given)"
+ data = msg
+ else
+ @msg = msg
+ end
@data = data
@build = data.delete :build rescue nil
end