ecl: use brewed gmp

Fixes Homebrew/homebrew#27929
Closes Homebrew/homebrew#28238

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
hebiyan 2014-04-08 13:58:15 +09:00 committed by Adam Vandenberg
parent 3658b2a8dc
commit bda59371d9

View file

@ -5,14 +5,11 @@ class Ecl < Formula
url 'https://downloads.sourceforge.net/project/ecls/ecls/13.5/ecl-13.5.1.tgz'
sha1 'db7f732e5e12182118f00c02d8d2531f6d6aefb2'
fails_with :clang do
build 425
cause "The built-in gmp library fails to build with clang"
end
depends_on 'gmp'
def install
ENV.deparallelize
system "./configure", "--prefix=#{prefix}", "--enable-unicode"
system "./configure", "--prefix=#{prefix}", "--enable-unicode=yes", "--enable-threads=yes", "--with-system-gmp=yes"
system "make"
system "make install"
end