diff options
| author | Max Howell | 2012-03-20 23:56:19 +0000 |
|---|---|---|
| committer | Max Howell | 2012-03-20 23:56:42 +0000 |
| commit | 8560672847891fa0c52f69f65b109673430556c8 (patch) | |
| tree | 4fe8f531a4f46e081401fbc8f2f8237c6d52667b /Library | |
| parent | 1d61bb9da2e13ff1effef853d2a5c053c36fd553 (diff) | |
| download | homebrew-8560672847891fa0c52f69f65b109673430556c8.tar.bz2 | |
Erlang from source needs automake/libtool
Fixes #11040.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/erlang.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Library/Formula/erlang.rb b/Library/Formula/erlang.rb index 3a56c2356..1ba56043f 100644 --- a/Library/Formula/erlang.rb +++ b/Library/Formula/erlang.rb @@ -54,8 +54,15 @@ class Erlang < Formula 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 may take a very long time; use `brew install -v erlang` to see progress" + ohai "Compilation takes a long time; use `brew install -v erlang` to see progress" unless ARGV.verbose? + if ENV.compiler == :llvm # Don't use optimizations. Fixes build on Lion/Xcode 4.2 ENV.remove_from_cflags /-O./ |
