audit: whitelist openssl@1.1 in new formulae

This commit is contained in:
EricFromCanada 2019-07-15 23:00:58 -04:00
parent 59b1d63bb0
commit 7812f6984e

View File

@ -391,7 +391,7 @@ module Homebrew
if @new_formula && if @new_formula &&
dep_f.keg_only_reason&.reason == :provided_by_macos && dep_f.keg_only_reason&.reason == :provided_by_macos &&
dep_f.keg_only_reason.valid? && dep_f.keg_only_reason.valid? &&
!%w[apr apr-util openblas openssl].include?(dep.name) !%w[apr apr-util openblas openssl openssl@1.1].include?(dep.name)
new_formula_problem( new_formula_problem(
"Dependency '#{dep.name}' may be unnecessary as it is provided " \ "Dependency '#{dep.name}' may be unnecessary as it is provided " \
"by macOS; try to build this formula without it.", "by macOS; try to build this formula without it.",