aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-08-20 18:40:45 -0500
committerJack Nagel2014-08-20 18:40:45 -0500
commit9c9664eb553d06f8ae000a2411e02a221fc277ee (patch)
treef4b6f89a2753b67d7bc398e73a7df4e503be9b77
parentf2e75ee7645e7c0451aa05ed3c930aceff734bbf (diff)
downloadhomebrew-9c9664eb553d06f8ae000a2411e02a221fc277ee.tar.bz2
Remove comment that shows up when grepping for "env :std"
-rw-r--r--Library/Formula/python.rb3
-rw-r--r--Library/Formula/python3.rb3
2 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb
index ce7e3760f..7975bbd9c 100644
--- a/Library/Formula/python.rb
+++ b/Library/Formula/python.rb
@@ -219,8 +219,7 @@ class Python < Formula
# The setup.py looks at "-isysroot" to get the sysroot (and not at --sysroot)
cflags += " -isysroot #{MacOS.sdk_path}"
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"
+ args << "CPPFLAGS=-I#{MacOS.sdk_path}/usr/include" # find zlib
# For the Xlib.h, Python needs this header dir with the system Tk
if build.without? "brewed-tk"
cflags += " -I#{MacOS.sdk_path}/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers"
diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb
index 5cd33672f..f70bbd074 100644
--- a/Library/Formula/python3.rb
+++ b/Library/Formula/python3.rb
@@ -177,8 +177,7 @@ class Python3 < Formula
# The setup.py looks at "-isysroot" to get the sysroot (and not at --sysroot)
cflags += " -isysroot #{MacOS.sdk_path}"
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"
+ args << "CPPFLAGS=-I#{MacOS.sdk_path}/usr/include" # find zlib
if build.without? 'brewed-tk'
cflags += " -I#{MacOS.sdk_path}/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers"
end