ENV.x11 automatically if depends_on :x11
This commit is contained in:
parent
4c10eaf332
commit
4416955495
@ -54,6 +54,8 @@ at_exit do
|
||||
end
|
||||
|
||||
def install f
|
||||
ENV.x11 if f.external_deps.any? { |dep| dep.is_a? X11Dependency }
|
||||
|
||||
f.recursive_deps.uniq.each do |dep|
|
||||
dep = Formula.factory dep
|
||||
if dep.keg_only?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user