From 754b8b3147432df059ba2adee8c85b5d960e40d6 Mon Sep 17 00:00:00 2001 From: Wesley Bland Date: Mon, 30 Jun 2014 14:32:06 -0500 Subject: 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 --- Library/Formula/mpich2.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Library/Formula') 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' -- cgit v1.2.3