aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMax Howell2012-08-29 21:42:24 -0400
committerMax Howell2012-08-29 21:42:24 -0400
commit7a95865ecb226e4755a668cf2e751a5c87cd9cb4 (patch)
tree147670decce65c3939d47d79b8e476eae85ce516 /Library/Formula
parent744031b4affdf5f676c1b2f8093746ae0d205b72 (diff)
downloadhomebrew-7a95865ecb226e4755a668cf2e751a5c87cd9cb4.tar.bz2
Fix qrupdate FCFLAGS if nil
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/qrupdate.rb6
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"