From 48a664d6ebbbf91a0116a9bcbc45ca69b25705c8 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Wed, 28 Jul 2010 18:19:04 -0700 Subject: Allow gfortran to install on Xcode 3.2.3 - experimental Do: brew install --force gfortran to install gfortran on Xcode 3.2.3, using support for 3.2.2. This is unsupported, but R seemed to compile fine for me when I tried this. --- Library/Formula/gfortran.rb | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'Library') diff --git a/Library/Formula/gfortran.rb b/Library/Formula/gfortran.rb index f81e3d718..4c455b6a9 100644 --- a/Library/Formula/gfortran.rb +++ b/Library/Formula/gfortran.rb @@ -16,14 +16,16 @@ class GfortranPkgDownloadStrategy = 10.6 - url 'http://r.research.att.com/gfortran-42-5659.pkg' - md5 '71bd546baa45c9c0fb4943cdd72ee274' - version "4.2.4-5659" - else + if MACOS_VERSION < 10.6 + # Leopard url 'http://r.research.att.com/gfortran-42-5577.pkg' md5 '30fb495c93cf514003cdfcb7846dc701' version "4.2.4-5577" + else + # Snow Leopard + url 'http://r.research.att.com/gfortran-42-5659.pkg' + md5 '71bd546baa45c9c0fb4943cdd72ee274' + version "4.2.4-5659" end homepage 'http://r.research.att.com/tools/' @@ -51,6 +53,17 @@ class Gfortran