From 4624fa0feb66268ea179393021d888597c214bcb Mon Sep 17 00:00:00 2001 From: Samuel John Date: Thu, 8 Aug 2013 14:47:39 +0200 Subject: python3: --with-brewed-tk needs :x11 if --with-x11 When tcl-tk was installed `--with-x11`, python needs to `depends_on :x11`, otherwise tcl-tk ships an included versions of X11. --- Library/Formula/python3.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'Library/Formula/python3.rb') diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb index b8e526531..cde69dad5 100644 --- a/Library/Formula/python3.rb +++ b/Library/Formula/python3.rb @@ -35,6 +35,7 @@ class Python3 < Formula depends_on 'openssl' if build.with? 'brewed-openssl' depends_on 'xz' => :recommended # for the lzma module added in 3.3 depends_on 'homebrew/dupes/tcl-tk' if build.with? 'brewed-tk' + depends_on :x11 if build.with? 'brewed-tk' and Tab.for_name('tcl-tk').used_options.include?('with-x11') def patches DATA if build.with? 'brewed-tk' -- cgit v1.2.3