diff options
| author | Jack Nagel | 2013-07-11 13:03:24 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-07-11 13:03:25 -0500 |
| commit | 0e46fbb2954a5da71739add444daea05bd64227d (patch) | |
| tree | 75ccbedd92ee51a8493de6ee0938547aec7393c4 /Library | |
| parent | c4a9db8ef212aa6a5ef01ce3b3f7dc3ec7a61508 (diff) | |
| download | homebrew-0e46fbb2954a5da71739add444daea05bd64227d.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 |
