diff options
| author | Jannis Leidel | 2009-10-12 14:01:21 +0200 |
|---|---|---|
| committer | Max Howell | 2009-10-12 18:11:03 +0100 |
| commit | 2d67ddad2e0d8c87af1ae637919986655341dd87 (patch) | |
| tree | 9c80b41fce72c53047c438c42f3db53bd72834fc /Library/Formula/python.rb | |
| parent | c0bd6611dec15a3a63ca58f034adc29c9479c878 (diff) | |
| download | homebrew-2d67ddad2e0d8c87af1ae637919986655341dd87.tar.bz2 | |
Make framework install of Python actually usable.
No offense but the use of --with-framework-name option is totally wrong in the
Formula.
As noted in the Mac build [notes][1] --with-framework-name is *not* to pass
the SDK path, but to rename it (e.g. "AwesomePython.framework" instead of just
"Python.framework"). To build it as a Mac OS X framework you need to use the
--enable-framework flag instead.
The same with the other option -- to build Python universally. The flag
--enable-universalsdk is missing.
[1]: http://svn.python.org/projects/python/branches/release26-maint/Mac/README
Diffstat (limited to 'Library/Formula/python.rb')
| -rw-r--r-- | Library/Formula/python.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb index da0581975..8b5e6afcf 100644 --- a/Library/Formula/python.rb +++ b/Library/Formula/python.rb @@ -24,11 +24,11 @@ class Python <Formula args = ["--prefix=#{prefix}"] if ARGV.include? '--framework' - args << "--with-framework-name=/Developer/SDKs/MacOSX#{MACOS_VERSION}.sdk" + args << "--enable-framework" end if ARGV.include? '--intel' - args << "--with-universal-archs=intel" + args << "--with-universal-archs=intel --enable-universalsdk=/" end system "./configure", *args |
