homebrew-core/Formula/chicken.rb
Jack Nagel 64afeec6d4 Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 12:39:59 -05:00

20 lines
645 B
Ruby

require 'formula'
class Chicken < Formula
url 'http://code.call-cc.org/releases/4.7.0/chicken-4.7.0.tar.gz'
md5 '9389388fdf04c3c64de29633aae12539'
homepage 'http://www.call-cc.org/'
head 'git://code.call-cc.org/chicken-core'
fails_with :llvm do
cause "Compilation hangs; see http://lists.gnu.org/archive/html/chicken-users/2010-12/msg00158.html"
end
def install
ENV.deparallelize
args = ["PREFIX=#{prefix}", "PLATFORM=macosx", "C_COMPILER=#{ENV.cc}"] # Chicken uses a non-standard var. for this
args << "ARCH=x86-64" if MacOS.prefer_64_bit?
system "make", *args
system "make", "install", *args
end
end