Add default #uses_from_macos behaviour to Formula
This commit is contained in:
parent
f2abaf6862
commit
79808638a6
@ -2360,6 +2360,10 @@ class Formula
|
|||||||
specs.each { |spec| spec.depends_on(dep) }
|
specs.each { |spec| spec.depends_on(dep) }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def uses_from_macos(dep, **args)
|
||||||
|
depends_on(dep)
|
||||||
|
end
|
||||||
|
|
||||||
# @!attribute [w] option
|
# @!attribute [w] option
|
||||||
# Options can be used as arguments to `brew install`.
|
# Options can be used as arguments to `brew install`.
|
||||||
# To switch features on/off: `"with-something"` or `"with-otherthing"`.
|
# To switch features on/off: `"with-something"` or `"with-otherthing"`.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user