diff options
Diffstat (limited to 'Library/Formula')
| -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" |
