[28120] trunk/dports/lang/python24/Portfile
Blair Zajac
blair at orcaware.com
Tue Aug 21 10:52:49 PDT 2007
Boyd Waters wrote:
>
> On Aug 21, 2007, at 9:18 AM, Anders F Björklund wrote:
>
>> This change will break ports that depends on "python24" and then try
>> to use the "python" binary, either directly with
>> #!/opt/local/bin/python or with e.g. #!/usr/bin/env python.
>>
>> Maybe those ports using port:python24 should be patched to use
>> "python2.4" instead ?
>
>
> Ouch, I agree...
>
> Does "python-select" set a link to python24 or python25 ?
>
> If so, then things should work... ${prefix}/bin/python should be a link
> to the currently-selected Python.
>
> And of course ${prefix}/Frameworks/Python/Current should be set to point
> to the correct version, as well.
Oh, I don't think python-select should change the Current symlink. You don't
want the currently selected python-select to affect any successive compiles.
For example, you could python-select to 2.5, but build a Port that is designed
for 2.4, but it ends up linking against the 2.5 framework.
Blair
More information about the macports-dev
mailing list