diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/ghc.rb | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/Library/Formula/ghc.rb b/Library/Formula/ghc.rb index 19df510d9..f223731fd 100644 --- a/Library/Formula/ghc.rb +++ b/Library/Formula/ghc.rb @@ -1,16 +1,5 @@ require 'formula' -class NeedsSnowLeopard < Requirement - satisfy MacOS.version >= :snow_leopard - - def message; <<-EOS.undent - GHC requires OS X 10.6 or newer. The binary releases no longer work on - Leopard. See the following issue for details: - http://hackage.haskell.org/trac/ghc/ticket/6009 - EOS - end -end - class Ghcbinary < Formula if Hardware.is_64_bit? and not build.build_32_bit? url 'http://www.haskell.org/ghc/dist/7.4.2/ghc-7.4.2-x86_64-apple-darwin.tar.bz2' @@ -34,7 +23,8 @@ class Ghc < Formula env :std - depends_on NeedsSnowLeopard + # http://hackage.haskell.org/trac/ghc/ticket/6009 + depends_on :macos => :snow_leopard option '32-bit' option 'tests', 'Verify the build using the testsuite in Fast Mode, 5 min' |
