From 79808638a6f4567f743227a2cf89443059577daf Mon Sep 17 00:00:00 2001 From: Gabriel Date: Wed, 22 May 2019 14:08:55 -0300 Subject: [PATCH] Add default #uses_from_macos behaviour to Formula --- Library/Homebrew/formula.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 79aa5f98f7..ab4dc62fe1 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -2360,6 +2360,10 @@ class Formula specs.each { |spec| spec.depends_on(dep) } end + def uses_from_macos(dep, **args) + depends_on(dep) + end + # @!attribute [w] option # Options can be used as arguments to `brew install`. # To switch features on/off: `"with-something"` or `"with-otherthing"`.