aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python.rb
diff options
context:
space:
mode:
authorJack Nagel2014-07-29 21:50:24 -0500
committerJack Nagel2014-07-29 21:54:32 -0500
commitd455d47cadd89f2dab76761a1d1bd6a1b610d2c2 (patch)
treeac4291e292c630aa61994fe524a14d018f0807db /Library/Formula/python.rb
parent7c66870e119ba936bdbe4eab940dd6e69968c228 (diff)
downloadhomebrew-d455d47cadd89f2dab76761a1d1bd6a1b610d2c2.tar.bz2
Limit exposure of the options data structures
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"