From 9c9664eb553d06f8ae000a2411e02a221fc277ee Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 20 Aug 2014 18:40:45 -0500 Subject: Remove comment that shows up when grepping for "env :std" --- Library/Formula/python.rb | 3 +-- Library/Formula/python3.rb | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3