aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorknarz2012-07-11 15:58:22 +0300
committerCharlie Sharpsteen2012-07-23 19:47:44 -0700
commit85de683f26cb777cd5fc552f4ceb54e92a905086 (patch)
tree77e0366de46ce16e1b1e6cf18eefc1d8f19a228b /Library
parenta3bcab11f73db814471d24805cb9dfb82cd1a4a5 (diff)
downloadhomebrew-85de683f26cb777cd5fc552f4ceb54e92a905086.tar.bz2
gfortran: allow (experimental) installs on Mountain Lion
Closes #13340. Closes #13555. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
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