From 1a05e18fe91e4e11d9cfc08a36a23e70fe83930e Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 29 Jan 2013 23:43:15 -0600 Subject: [PATCH] FormulaInstaller: actually select unsatisfied requirements Fixes Homebrew/homebrew#17422. --- Library/Homebrew/formula_installer.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 623d2b9303..84a4a2cf59 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -114,6 +114,8 @@ class FormulaInstaller f.recursive_dependencies.map(&:to_formula).any? do |dep| dep.build.with?(req.name) end || f.build.with?(req.name) + else + true end end end