diff options
| author | Jack Nagel | 2012-03-18 15:33:24 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-04-01 12:39:59 -0500 |
| commit | 497b13ac9e088ef2bb9539f0a25ba944c87c6f26 (patch) | |
| tree | f105351651a7f7bd91099320479c7ed9fdaf50ba /Library/Formula/erlang.rb | |
| parent | b36f59dd3c8a3bf95eeb715e3fdd05bce2ccdc75 (diff) | |
| download | homebrew-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.rb | 18 |
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? |
