-
- Downloads
FormulaInstaller: allow formulae to pass options to deps
Formulae can now pass build options to dependencies. The following syntax is supported: depends_on 'foo' => 'with-bar' depends_on 'foo' => ['with-bar', 'with-baz'] If a dependency is already installed but lacks the required build options, an exception is raised. Eventually we may be able to just stash the existing keg and reinstall it with the combined set of used_options and passed options, but enabling that is left for another day.
Showing
- Library/Homebrew/build_options.rb 1 addition, 1 deletionLibrary/Homebrew/build_options.rb
- Library/Homebrew/dependencies.rb 13 additions, 2 deletionsLibrary/Homebrew/dependencies.rb
- Library/Homebrew/formula_installer.rb 29 additions, 18 deletionsLibrary/Homebrew/formula_installer.rb
- Library/Homebrew/test/test_dependency.rb 2 additions, 1 deletionLibrary/Homebrew/test/test_dependency.rb
- Library/Homebrew/test/test_dependency_collector.rb 1 addition, 0 deletionsLibrary/Homebrew/test/test_dependency_collector.rb
Loading
Please register or sign in to comment