aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMichael Wall2011-03-13 13:28:10 -0400
committerAdam Vandenberg2011-03-13 10:57:27 -0700
commit251f6b9cd6f1ad49518f647be125a83065f44215 (patch)
tree190f35fa4de6a3cfeae25645a7f16b8109b42ecf /Library
parentc01c6d63088c5abd4d3e6ce94bce5f6cfe82c149 (diff)
downloadhomebrew-251f6b9cd6f1ad49518f647be125a83065f44215.tar.bz2
gfortan - update version check for Xcode 4.
Update gfortran checks for XCode 4 (gcc build 5666). Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/gfortran.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/gfortran.rb b/Library/Formula/gfortran.rb
index cb83ead9e..b1cff791b 100644
--- a/Library/Formula/gfortran.rb
+++ b/Library/Formula/gfortran.rb
@@ -63,6 +63,10 @@ class Gfortran < Formula
ohai "Installing gfortran 4.2.4 for XCode 3.2.3 (build 5664)"
safe_system "pax --insecure -rz -f Payload.gz -s ',./usr,#{prefix},'"
safe_system "ln -sf #{man1}/gfortran-4.2.1 #{man1}/gfortran.1"
+ when 5666
+ ohai "Installing gfortran 4.2.4 for XCode 4.0 (build 5666)"
+ safe_system "pax --insecure -rz -f Payload.gz -s ',./usr,#{prefix},'"
+ safe_system "ln -sf #{man1}/gfortran-4.2.1 #{man1}/gfortran.1"
else
onoe <<-EOS.undent
Currently the gfortran compiler provided by this brew is only supported