diff options
| author | Adam Vandenberg | 2010-06-16 14:06:54 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-06-16 14:06:54 -0700 |
| commit | fee76dece4e2ef5845e36b41737de7f5b96e7ebb (patch) | |
| tree | 149f4bbec738f5be98078f067205fb5800a19f8f /Library/Formula | |
| parent | 1f90682753c644bc2853a8b8650af8d0466791e3 (diff) | |
| download | homebrew-fee76dece4e2ef5845e36b41737de7f5b96e7ebb.tar.bz2 | |
Force sip to build against the system (Framework) Python.
Fixes #930
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/sip.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Library/Formula/sip.rb b/Library/Formula/sip.rb index cad9d617e..815ff5793 100644 --- a/Library/Formula/sip.rb +++ b/Library/Formula/sip.rb @@ -9,19 +9,19 @@ class Sip <Formula md5 '52d11ca9c1a0d0cddc9b89268bff5929' def install - system "python", "configure.py", "--destdir=#{lib}/python", - "--bindir=#{bin}", - "--incdir=#{include}" + # Force building against System python, because we need a Framework build. + # See: http://github.com/mxcl/homebrew/issues/issue/930 + system "/usr/bin/python", "configure.py", + "--destdir=#{lib}/python", + "--bindir=#{bin}", + "--incdir=#{include}" system "make install" end - def caveats; <<-EOS.undent + def caveats; <<-EOS This formula won't function until you amend your PYTHONPATH like so: export PYTHON_PATH=#{HOMEBREW_PREFIX}/lib/python:$PYTHON_PATH - - This is why you would ideally install sip using pip or easy_install. But this - can't work because this package doesn't support Python's disttools. EOS end end |
