Use gcc instead of apple-gcc42 when needed.
This commit is contained in:
parent
ae328aaeb5
commit
23eb86d769
2 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@ class Ghc < Formula
|
|||
url "http://www.haskell.org/ghc/dist/7.8.1-rc2/ghc-7.8.0.20140228-src.tar.bz2"
|
||||
sha1 "8bd8eb3410a7fccc322c0e23e8045fcb5793ea5a"
|
||||
|
||||
depends_on "apple-gcc42" if build.build_32_bit?
|
||||
depends_on "gcc" if build.build_32_bit?
|
||||
depends_on :macos => :mountain_lion
|
||||
|
||||
resource "binary" do
|
||||
|
@ -54,7 +54,7 @@ class Ghc < Formula
|
|||
stable do
|
||||
# http://hackage.haskell.org/trac/ghc/ticket/6009
|
||||
depends_on :macos => :snow_leopard
|
||||
depends_on "apple-gcc42" if MacOS.version >= :mountain_lion
|
||||
depends_on "gcc" if MacOS.version >= :mountain_lion
|
||||
depends_on "gmp"
|
||||
|
||||
resource "binary" do
|
||||
|
|
|
@ -23,7 +23,7 @@ class Grass < Formula
|
|||
option "without-gui", "Build without WxPython interface. Command line tools still available."
|
||||
|
||||
depends_on :macos => :lion
|
||||
depends_on 'apple-gcc42' if MacOS.version >= :mountain_lion
|
||||
depends_on 'gcc' if MacOS.version >= :mountain_lion
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "gettext"
|
||||
depends_on "readline"
|
||||
|
|
Loading…
Reference in a new issue