aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/python.rb')
-rw-r--r--Library/Formula/python.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb
index 004d6abb4..65f78f97d 100644
--- a/Library/Formula/python.rb
+++ b/Library/Formula/python.rb
@@ -31,6 +31,7 @@ class Python < Formula
depends_on 'gdbm' => :recommended
depends_on 'openssl' if build.with? 'brewed-openssl'
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
p = []