diff options
| author | Adam Vandenberg | 2013-06-18 08:03:32 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-06-18 08:03:32 -0700 |
| commit | ddcc48110243821a9b466773b02ea3a0d22c0dc4 (patch) | |
| tree | 71d9f61e14cd0d36ab2b0d14cdb6a01419be4074 /Library/Formula | |
| parent | c26863fea26a7e5a2d0d8f474b9c937996f6fa52 (diff) | |
| download | homebrew-ddcc48110243821a9b466773b02ea3a0d22c0dc4.tar.bz2 | |
ghc: use :macos
Diffstat (limited to 'Library/Formula')
| -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' |
