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 Homebrew/homebrew#30572. Signed-off-by: Jack Nagel <jacknagel@gmail.com>master
parent
ef2508c8dc
commit
dc8e958cb7
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue