diff options
| author | nibbles 2bits | 2012-04-02 20:24:54 -0700 |
|---|---|---|
| committer | Jack Nagel | 2012-04-11 01:03:22 -0500 |
| commit | 124cdb6995835678d8f12cdc6e43960fb6cf4c9f (patch) | |
| tree | fd8b627952949877b6f8c3eab610187f4053d180 /Library/Formula/python3.rb | |
| parent | 80ad46264ea128098789bcd20b9cb2f52412a9b0 (diff) | |
| download | homebrew-124cdb6995835678d8f12cdc6e43960fb6cf4c9f.tar.bz2 | |
mapnik: fix compile error with system Python
Mapnik by default tries to install to the site-packages in /System
when brewed against system Python. This causes a build error
because that directory is not writeable. Mapnik correctly
determines the versioned site-packages name without modification,
but for Homebrew it needs the proper prefix.
* Add the standard `which_python` function to the formula.
* Add a scons argument for `PYTHON_PREFIX`
* Add the standard caveat for `PYTHONPATH`.
Discussed upstream: https://github.com/mapnik/mapnik/issues/1155
and tested on Lion against the system Python.
Fixes #11389
Closes #11407.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/python3.rb')
0 files changed, 0 insertions, 0 deletions
