aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/erlang.rb
diff options
context:
space:
mode:
authorJack Nagel2012-03-18 15:33:24 -0500
committerJack Nagel2012-04-01 12:39:59 -0500
commit497b13ac9e088ef2bb9539f0a25ba944c87c6f26 (patch)
treef105351651a7f7bd91099320479c7ed9fdaf50ba /Library/Formula/erlang.rb
parentb36f59dd3c8a3bf95eeb715e3fdd05bce2ccdc75 (diff)
downloadhomebrew-497b13ac9e088ef2bb9539f0a25ba944c87c6f26.tar.bz2
Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/erlang.rb')
-rw-r--r--Library/Formula/erlang.rb18
1 files changed, 10 insertions, 8 deletions
diff --git a/Library/Formula/erlang.rb b/Library/Formula/erlang.rb
index 1ba56043f..9ec1fa513 100644
--- a/Library/Formula/erlang.rb
+++ b/Library/Formula/erlang.rb
@@ -43,6 +43,16 @@ class Erlang < Formula
# may as well skip bin too, everything is just shell scripts
skip_clean ['lib', 'bin']
+ if MacOS.xcode_version >= "4.3"
+ # remove the autoreconf if possible
+ depends_on "automake" => :build
+ depends_on "libtool" => :build
+ end
+
+ fails_with :llvm do
+ build 2334
+ end
+
def options
[
['--disable-hipe', "Disable building hipe; fails on various OS X systems."],
@@ -52,14 +62,6 @@ class Erlang < Formula
]
end
- fails_with_llvm :build => 2334
-
- if MacOS.xcode_version >= "4.3"
- # remove the autoreconf if possible
- depends_on "automake" => :build
- depends_on "libtool" => :build
- end
-
def install
ohai "Compilation takes a long time; use `brew install -v erlang` to see progress" unless ARGV.verbose?