From 4416955495f13396f336186549a558ae2f291801 Mon Sep 17 00:00:00 2001 From: Camillo Lugaresi Date: Fri, 8 Jun 2012 04:09:29 +0200 Subject: ENV.x11 automatically if depends_on :x11 --- Library/Homebrew/build.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Library') diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb index 271e7f141..bad624afc 100755 --- a/Library/Homebrew/build.rb +++ b/Library/Homebrew/build.rb @@ -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? -- cgit v1.2.3