aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMax Howell2012-02-16 17:23:25 +0000
committerMax Howell2012-02-16 18:19:01 +0000
commit82ed6aceb8a8789d58b040910d91f4d66f366156 (patch)
treefa22142f2ff5fe75fd51b87bbeedfd109305ad26 /Library/Homebrew
parentbe953bbb85c457abb3928c1ac05f939e78ac3bb6 (diff)
downloadbrew-82ed6aceb8a8789d58b040910d91f4d66f366156.tar.bz2
Pre-refactor Tidy
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/extend/ENV.rb22
1 files changed, 11 insertions, 11 deletions
diff --git a/Library/Homebrew/extend/ENV.rb b/Library/Homebrew/extend/ENV.rb
index 0820c55e4..22ca501e4 100644
--- a/Library/Homebrew/extend/ENV.rb
+++ b/Library/Homebrew/extend/ENV.rb
@@ -122,21 +122,21 @@ module HomebrewEnvExtension
self['FCFLAGS'] = self['CFLAGS'] unless self['FCFLAGS']
self['FFLAGS'] = self['CFLAGS'] unless self['FFLAGS']
elsif not self['FCFLAGS'] or self['FFLAGS']
- opoo <<-EOS
-No Fortran optimization information was provided. You may want to consider
-setting FCFLAGS and FFLAGS or pass the `--default-fortran-flags` option to
-`brew install` if your compiler is compatible with GCC.
+ opoo <<-EOS.undent
+ No Fortran optimization information was provided. You may want to consider
+ setting FCFLAGS and FFLAGS or pass the `--default-fortran-flags` option to
+ `brew install` if your compiler is compatible with GCC.
-If you like the default optimization level of your compiler, ignore this
-warning.
+ If you like the default optimization level of your compiler, ignore this
+ warning.
EOS
end
elsif `/usr/bin/which gfortran`.chomp.size > 0
- ohai <<-EOS
-Using Homebrew-provided fortran compiler.
- This may be changed by setting the FC environment variable.
- EOS
+ ohai <<-EOS.undent
+ Using Homebrew-provided fortran compiler.
+ This may be changed by setting the FC environment variable.
+ EOS
self['FC'] = `/usr/bin/which gfortran`.chomp
self['F77'] = self['FC']
@@ -213,7 +213,7 @@ Please take one of the following actions:
def cxx; self['CXX'] or "g++"; end
def cflags; self['CFLAGS']; end
def cxxflags;self['CXXFLAGS']; end
- def cppflags;self['CPPFLAGS']; end
+ def cppflags;self['CPPFLAGS']; end
def ldflags; self['LDFLAGS']; end
def m64