Skip to content
Snippets Groups Projects
Commit 44169554 authored by Camillo Lugaresi's avatar Camillo Lugaresi Committed by Jack Nagel
Browse files

ENV.x11 automatically if depends_on :x11

parent 4c10eaf3
No related branches found
No related tags found
No related merge requests found
......@@ -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?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment