From 8e2f0ccdc3d56bd30c7db3a4e7fdd5199405bf75 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 9 Dec 2016 17:59:08 +0000 Subject: formulary: remap deprecated options from keg. When reading a building a formula from a keg (rather than e.g. from name) then the deprecation options were not remapped correctly as they are only done in `Tab.for_formula` and not `Tab.for_keg`. Ensure that after we’ve created the formula that the `used_options` are remapped correctly. --- Library/Homebrew/formula_installer.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'Library/Homebrew/formula_installer.rb') diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 19b619625..1eae668a4 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -467,7 +467,6 @@ class FormulaInstaller fi = DependencyInstaller.new(df) fi.options |= tab.used_options - fi.options |= Tab.remap_deprecated_options(df.deprecated_options, dep.options) fi.options |= inherited_options fi.options &= df.options fi.build_from_source = ARGV.build_formula_from_source?(df) -- cgit v1.2.3