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.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb
index 82bd874fb..68fde9802 100644
--- a/Library/Formula/python.rb
+++ b/Library/Formula/python.rb
@@ -24,7 +24,7 @@ class Python < Formula
depends_on "gdbm" => :recommended
depends_on "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")
+ depends_on :x11 if build.with? "brewed-tk" and Tab.for_name("tcl-tk").with? "x11"
skip_clean "bin/pip", "bin/pip-2.7"
skip_clean "bin/easy_install", "bin/easy_install-2.7"