diff options
| author | Wesley Bland | 2014-06-30 14:32:06 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-07-04 23:18:58 -0500 |
| commit | 754b8b3147432df059ba2adee8c85b5d960e40d6 (patch) | |
| tree | c360909c937e4a314fbd8b94c0e65ec597451dd9 /Library | |
| parent | e0eb5e9e2b9a20800a9ac5c27e26611e50169f90 (diff) | |
| download | homebrew-754b8b3147432df059ba2adee8c85b5d960e40d6.tar.bz2 | |
Fix fortran flag in MPICH
MPICH changed the way the fortran flag works. Instead of using --disable-fc
and --disable-f77, it now just has one --disable-fortran. This patch updates
the formula to follow that convention.
Closes #30572.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/mpich2.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Formula/mpich2.rb b/Library/Formula/mpich2.rb index 8b44a628e..a257d8568 100644 --- a/Library/Formula/mpich2.rb +++ b/Library/Formula/mpich2.rb @@ -37,9 +37,7 @@ class Mpich2 < Formula "--prefix=#{prefix}", "--mandir=#{man}" ] - if build.include? 'disable-fortran' - args << "--disable-f77" << "--disable-fc" - end + args << "--disable-fortran" if build.include? "disable-fortran" # MPICH configure up to version 3.0.4 defaults to "--disable-shared" if build.include? 'disable-shared' |
