aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python3.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/python3.rb')
-rw-r--r--Library/Formula/python3.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb
index f30972893..2bc408d77 100644
--- a/Library/Formula/python3.rb
+++ b/Library/Formula/python3.rb
@@ -26,7 +26,7 @@ class Python3 < Formula
depends_on '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')
+ depends_on :x11 if build.with? "brewed-tk" and Tab.for_name("tcl-tk").with? "x11"
skip_clean "bin/pip3", "bin/pip-#{VER}"
skip_clean "bin/easy_install3", "bin/easy_install-#{VER}"