homebrew-core/Formula/hugs98.rb
Andreas Gerstmayr 4dad9db575 hugs98 fails with clang
Closes Homebrew/homebrew#23314.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-11-06 23:12:44 -06:00

28 lines
859 B
Ruby

require 'formula'
class Hugs98 < Formula
homepage 'http://www.haskell.org/hugs/'
url 'http://cvs.haskell.org/Hugs/downloads/2006-09/hugs98-plus-Sep2006.tar.gz'
version 'plus-Sep2006'
sha1 '1464a80c715bc5f786ea5a4e4257b2ff0dc7e1e9'
depends_on 'readline'
fails_with :clang do
cause %[ERROR "../libraries/bootlib/Data/Dynamic.hs" - Module "Main" already loaded]
end
def patches
{:p0 => [
"https://trac.macports.org/export/80246/trunk/dports/lang/hugs98/files/patch-packages-base-include-HsBase.h.diff",
"https://trac.macports.org/export/80246/trunk/dports/lang/hugs98/files/patch-libraries-tools-make-bootlib.diff"
]}
end
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
system "make install"
end
end