aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python3.rb
diff options
context:
space:
mode:
authorMike McQuaid2014-03-06 20:40:26 +0000
committerMike McQuaid2014-03-08 00:54:35 +0000
commit9de9f8d10e8e6d8c2d7cf7b74e6085038fc728d9 (patch)
tree2c9f666ed5bda1fdf28f56b4637fb4d6c5ccc0a1 /Library/Formula/python3.rb
parente6dd316f1e5988f50f524c627c38ce5473097cc1 (diff)
downloadhomebrew-9de9f8d10e8e6d8c2d7cf7b74e6085038fc728d9.tar.bz2
formulae: fix with/without usage.
Closes #27275. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
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 9d1ed493d..985b64934 100644
--- a/Library/Formula/python3.rb
+++ b/Library/Formula/python3.rb
@@ -185,7 +185,7 @@ class Python3 < Formula
ldflags += " -isysroot #{MacOS.sdk_path}"
# Same zlib.h-not-found-bug as in env :std (see below)
args << "CPPFLAGS=-I#{MacOS.sdk_path}/usr/include"
- unless build.with? 'brewed-tk'
+ if build.without? 'brewed-tk'
cflags += " -I#{MacOS.sdk_path}/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers"
end
end