aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/requirements/mpi_dependency.rb
diff options
context:
space:
mode:
authorMike McQuaid2013-05-10 13:35:38 +0100
committerMike McQuaid2013-05-10 13:37:41 +0100
commit2d9329f14eaac22dd0e2411e31295dd9acf6d1c5 (patch)
tree2fc7c19abb862f1e93022ae6c2a30d2164b14222 /Library/Homebrew/requirements/mpi_dependency.rb
parent849942f9fd8028de0ed99c3c740fb33e28cf84ea (diff)
downloadhomebrew-2d9329f14eaac22dd0e2411e31295dd9acf6d1c5.tar.bz2
Allow requirements to specify a default formula.
This allows default resolution of requirements without user intervention. Closes #19627.
Diffstat (limited to 'Library/Homebrew/requirements/mpi_dependency.rb')
-rw-r--r--Library/Homebrew/requirements/mpi_dependency.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/requirements/mpi_dependency.rb b/Library/Homebrew/requirements/mpi_dependency.rb
index b51efc303..e83f7d80c 100644
--- a/Library/Homebrew/requirements/mpi_dependency.rb
+++ b/Library/Homebrew/requirements/mpi_dependency.rb
@@ -9,6 +9,8 @@ class MPIDependency < Requirement
fatal true
+ default_formula 'open-mpi'
+
env :userpaths
def initialize *lang_list