From 31d41e15c73496b792dcf5cd339bac4f7a28998d Mon Sep 17 00:00:00 2001 From: Samuel John Date: Thu, 8 Aug 2013 13:37:32 +0200 Subject: python: Fix --with-brewed-tk if that was installed --with-x11 Closes #19099 --- Library/Formula/python.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'Library/Formula') 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 = [] -- cgit v1.2.3