aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/exceptions.rb
diff options
context:
space:
mode:
authorJack Nagel2014-02-27 14:22:43 -0600
committerJack Nagel2014-02-27 14:22:43 -0600
commit87ae0ab795e44a70bedcb93d56dd84660db0d88e (patch)
tree835c2b132f8d4156e0ae29d1cb7f854ca770febd /Library/Homebrew/exceptions.rb
parentacaec2a7d8efed47e2d1b05078b720d3558a8832 (diff)
downloadhomebrew-87ae0ab795e44a70bedcb93d56dd84660db0d88e.tar.bz2
Pass expansion-time build options to install_dependency
Diffstat (limited to 'Library/Homebrew/exceptions.rb')
-rw-r--r--Library/Homebrew/exceptions.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb
index f88b6fc57..6829c17a9 100644
--- a/Library/Homebrew/exceptions.rb
+++ b/Library/Homebrew/exceptions.rb
@@ -92,10 +92,10 @@ class FormulaInstallationAlreadyAttemptedError < Homebrew::InstallationError
end
class UnsatisfiedDependencyError < Homebrew::InstallationError
- def initialize(f, dep)
+ def initialize(f, dep, inherited_options)
super f, <<-EOS.undent
#{f} dependency #{dep} not installed with:
- #{dep.missing_options * ', '}
+ #{dep.missing_options(inherited_options) * ', '}
EOS
end
end