[76478] trunk/dports/devel/redo/Portfile

Joshua Root jmr at macports.org
Fri Feb 25 13:07:22 PST 2011

On 2011-2-25 16:03 , Ryan Schmidt wrote:
> Second, the a problem with this strategy in the first place is that you're declaring a dependency on the binary "python", and telling MacPorts to install python_select if it can't find one, and then making the scripts run "/opt/local/bin/python". But /usr/bin/python will satisfy the dependency; MacPorts would never install python_select in response to this dependency declaration.
> Third, just installing "python_select" doesn't create /opt/local/bin/python; the user would have to run python_select and select a particular python to make that work. The python selected by python_select is supposed to be for the user's use only; ports installed by MacPorts should not be trying to make use of that. Instead, ports should depend on a specific version of python, and use that python binary.

There are some other ports like glib2 that use this bogus dependency, so
they should be fixed too.

- Josh

More information about the macports-dev mailing list