diff options
| author | Max Howell | 2012-08-29 21:42:24 -0400 |
|---|---|---|
| committer | Max Howell | 2012-08-29 21:42:24 -0400 |
| commit | 7a95865ecb226e4755a668cf2e751a5c87cd9cb4 (patch) | |
| tree | 147670decce65c3939d47d79b8e476eae85ce516 /Library/Formula/qrupdate.rb | |
| parent | 744031b4affdf5f676c1b2f8093746ae0d205b72 (diff) | |
| download | homebrew-7a95865ecb226e4755a668cf2e751a5c87cd9cb4.tar.bz2 | |
Fix qrupdate FCFLAGS if nil
Diffstat (limited to 'Library/Formula/qrupdate.rb')
| -rw-r--r-- | Library/Formula/qrupdate.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/qrupdate.rb b/Library/Formula/qrupdate.rb index 3326a63de..aea99b992 100644 --- a/Library/Formula/qrupdate.rb +++ b/Library/Formula/qrupdate.rb @@ -12,9 +12,9 @@ class Qrupdate < Formula ENV['PREFIX'] = prefix inreplace 'Makeconf' do |s| # as per the caveats in the gfortran formula: - s.gsub! /^(FC=).*/, "\\1#{HOMEBREW_PREFIX}/bin/gfortran" - s.gsub! /^(FFLAGS=).*/, "\\1"+ENV["FCFLAGS"] - s.gsub! /^(BLAS=).*/, "\\1#{ENV["LDFLAGS"]} -ldotwrp -framework Accelerate" + s.gsub! /^(FC=).*/, "\\1#{HOMEBREW_PREFIX}/bin/gfortran" + s.gsub! /^(FFLAGS=).*/, "\\1#{ENV['FCFLAGS']}" + s.gsub! /^(BLAS=).*/, "\\1#{ENV["LDFLAGS"]} -ldotwrp -framework Accelerate" s.gsub! /^(LAPACK=).*/, "\\1#{ENV["LDFLAGS"]} -ldotwrp -framework Accelerate" end cd "./src" |
