aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorSamuel John2013-08-08 13:37:32 +0200
committerSamuel John2013-08-08 13:37:32 +0200
commit31d41e15c73496b792dcf5cd339bac4f7a28998d (patch)
treead0acd479ca2b8692965dec3ff15df4ad10f36e8 /Library
parenta91fef5c62ff30f400201f64e7b612838d68675c (diff)
downloadhomebrew-31d41e15c73496b792dcf5cd339bac4f7a28998d.tar.bz2
python: Fix --with-brewed-tk if that was installed --with-x11
Closes #19099
Diffstat (limited to 'Library')
-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 = []