GHC: Refuse to install on Leopard
The binary releases of the GHC compiler are no longer compatible with OS X 10.5. Fixes Homebrew/homebrew#11671.master
parent
5b1302d6c4
commit
186861b63e
|
@ -37,6 +37,16 @@ class Ghc < Formula
|
|||
end
|
||||
|
||||
def install
|
||||
if MacOS.leopard?
|
||||
onoe <<-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
|
||||
exit 1
|
||||
end
|
||||
|
||||
if ARGV.build_devel?
|
||||
opoo "The current version of haskell-platform will NOT work with this version of GHC!"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue