From e02d08f0201fe571db77da25c7b1d052c239a250 Mon Sep 17 00:00:00 2001 From: Dustin Rodrigues Date: Sat, 25 Jul 2020 22:27:54 -0400 Subject: [PATCH] re-enable build from source for install, reinstall, upgrade --- Library/Homebrew/cmd/install.rb | 3 ++- Library/Homebrew/reinstall.rb | 3 ++- Library/Homebrew/upgrade.rb | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 57965feb4c..34c33d71fa 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -323,7 +323,8 @@ module Homebrew f.print_tap_action build_options = f.build - fi = FormulaInstaller.new(f, force_bottle: args.force_bottle?, include_test: args.include_test?) + fi = FormulaInstaller.new(f, force_bottle: args.force_bottle?, include_test: args.include_test?, + build_from_source: args.build_from_source?) fi.options = build_options.used_options fi.env = args.env fi.force = args.force? diff --git a/Library/Homebrew/reinstall.rb b/Library/Homebrew/reinstall.rb index b55727130e..b7916a94a7 100644 --- a/Library/Homebrew/reinstall.rb +++ b/Library/Homebrew/reinstall.rb @@ -23,7 +23,8 @@ module Homebrew options |= f.build.used_options options &= f.options - fi = FormulaInstaller.new(f, force_bottle: args.force_bottle?, include_test: args.include_test?) + fi = FormulaInstaller.new(f, force_bottle: args.force_bottle?, include_test: args.include_test?, + build_from_source: args.build_from_source?) fi.options = options fi.force = args.force? fi.keep_tmp = args.keep_tmp? diff --git a/Library/Homebrew/upgrade.rb b/Library/Homebrew/upgrade.rb index 7557e897d0..2e4ccb8d58 100644 --- a/Library/Homebrew/upgrade.rb +++ b/Library/Homebrew/upgrade.rb @@ -63,7 +63,8 @@ module Homebrew options |= f.build.used_options options &= f.options - fi = FormulaInstaller.new(f, force_bottle: args.force_bottle?, include_test: args.include_test?) + fi = FormulaInstaller.new(f, force_bottle: args.force_bottle?, include_test: args.include_test?, + build_from_source: args.build_from_source?) fi.options = options fi.force = args.force? fi.keep_tmp = args.keep_tmp?