diff options
| author | Jack Nagel | 2013-07-11 13:03:24 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-07-11 13:03:25 -0500 |
| commit | 38c1d25036d3851de120df46179dd78d31ccb369 (patch) | |
| tree | cd020e8d4b7497e7abd36dda382999a3b3fe9e2c /Library | |
| parent | e805b8636cfe8d59dc9e82e1b60b8ff26d59cc07 (diff) | |
| download | brew-38c1d25036d3851de120df46179dd78d31ccb369.tar.bz2 | |
Remove unreachable branch in ENV.fortran
Now that this is handled by a Requirement with a default formula, this
code cannot be triggered under normal circumstances.
The advice given has now been moved to the Formula Cookbook on the wiki.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/extend/ENV.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/Library/Homebrew/extend/ENV.rb b/Library/Homebrew/extend/ENV.rb index 22f1a92b4..8d971eb93 100644 --- a/Library/Homebrew/extend/ENV.rb +++ b/Library/Homebrew/extend/ENV.rb @@ -490,22 +490,6 @@ class << ENV HomebrewEnvExtension::FC_FLAG_VARS.each {|key| self[key] = cflags} set_cpu_flags(HomebrewEnvExtension::FC_FLAG_VARS) - else - onoe <<-EOS -This formula requires a fortran compiler, but we could not find one by -looking at the FC environment variable or searching your PATH for `gfortran`. -Please take one of the following actions: - - - Decide to use the build of gfortran 4.2.x provided by Homebrew using - `brew install gfortran` - - - Choose another Fortran compiler by setting the FC environment variable: - export FC=/path/to/some/fortran/compiler - Using an alternative compiler may produce more efficient code, but we will - not be able to provide support for build errors. - EOS - exit 1 end end - end |
