aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2017-01-23 21:17:00 +0000
committerGitHub2017-01-23 21:17:00 +0000
commitda54f39556b0cee0014db0deb039bb0569ebb9bb (patch)
tree32edf25e6cf34d17ac225e3abf0e7d7a20d978ec
parent2c1fbe16931bd366d33d4419c59fcc8ada9cfe7d (diff)
parentcebe137499cc5e74dd0b34e54226a1ade7a4bf60 (diff)
downloadbrew-da54f39556b0cee0014db0deb039bb0569ebb9bb.tar.bz2
Merge pull request #1877 from ilovezfs/audit-wine-deps-exemption
audit: exempt wine's deps from the universal deprecation
-rw-r--r--Library/Homebrew/dev-cmd/audit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb
index 594555695..5b0102130 100644
--- a/Library/Homebrew/dev-cmd/audit.rb
+++ b/Library/Homebrew/dev-cmd/audit.rb
@@ -489,7 +489,7 @@ class FormulaAuditor
next unless @strict
- if o.name == "universal"
+ if o.name == "universal" && !Formula["wine"].recursive_dependencies.map(&:name).include?(formula.name)
problem "macOS has been 64-bit only since 10.6 so universal options are deprecated."
end