Depending on python2.x for building

Ryan Schmidt ryandesign at
Thu Dec 22 05:04:35 PST 2011

On Dec 18, 2011, at 17:50, Jeremy Huddleston wrote:

> So it turns out that llvm doesn't build well with python3 (  It's been building fine in most cases without the python dependency in the port by picking up /usr/bin/python or ${prefix}/bin/python if a 2.x python is port selected.
> What's the "best practices" way to handle this?  I don't want to use /usr/bin/python, and I don't want to deal with multiple python variants.  Is there a way to set $PYHON to "any" 2.x python on the system (and build one if there is none available)?

For glib2, which requires python 2.5, I just used /usr/bin/python, except on Tiger where I used python27, since its system python is too old. I think using /usr/bin/python as a build dependency is probably fine.

More information about the macports-dev mailing list