aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/gfortran.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/gfortran.rb b/Library/Formula/gfortran.rb
index 652a8ca83..fbc90aee0 100644
--- a/Library/Formula/gfortran.rb
+++ b/Library/Formula/gfortran.rb
@@ -64,8 +64,8 @@ class Gfortran < Formula
skip_clean :all
def install
- if MacOS.xcode_version >= '4.2' and MACOS_VERSION == 10.7
- ohai "Installing gfortran 4.2.4 for XCode 4.2 (build 5666)"
+ if MacOS.xcode_version >= '4.2' and MACOS_VERSION >= 10.7
+ ohai "Installing gfortran 4.2.4 for XCode 4.2 (build 5666) or higher"
safe_system "pax --insecure -rz -f Payload.gz -s ',./usr,#{prefix},'"
# This package installs a whole GCC suite. Remove non-fortran