From d455d47cadd89f2dab76761a1d1bd6a1b610d2c2 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 29 Jul 2014 21:50:24 -0500 Subject: Limit exposure of the options data structures --- Library/Formula/python.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula/python.rb') 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" -- cgit v1.2.3