aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
diff options
context:
space:
mode:
authorMike McQuaid2016-10-15 17:52:54 +0100
committerGitHub2016-10-15 17:52:54 +0100
commit7ac90613fd5a9719a03e180947522bfd4a8790be (patch)
tree56a92f5e8ea57ee0a19e0172f0e625be96d05581 /Library/Homebrew/dev-cmd
parentc233cacaf283a42940bdf3f607d82dab07d746a4 (diff)
parentc7fde5ddc98b1c605d55be87a68648640a842281 (diff)
downloadbrew-7ac90613fd5a9719a03e180947522bfd4a8790be.tar.bz2
Merge pull request #1290 from maxnordlund/patch-1
Fix wrong ordering on when clauses in audit.rb
Diffstat (limited to 'Library/Homebrew/dev-cmd')
-rw-r--r--Library/Homebrew/dev-cmd/audit.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb
index bfe56302e..c2a8fb450 100644
--- a/Library/Homebrew/dev-cmd/audit.rb
+++ b/Library/Homebrew/dev-cmd/audit.rb
@@ -408,14 +408,13 @@ class FormulaAuditor
EOS
when "open-mpi", "mpich"
problem <<-EOS.undent
- when *BUILD_TIME_DEPS
- next if dep.build? || dep.run?
- problem <<-EOS.undent
There are multiple conflicting ways to install MPI. Use an MPIRequirement:
depends_on :mpi => [<lang list>]
Where <lang list> is a comma delimited list that can include:
:cc, :cxx, :f77, :f90
EOS
+ when *BUILD_TIME_DEPS
+ next if dep.build? || dep.run?
end
end
end