[28120] trunk/dports/lang/python24/Portfile
Anders F Björklund
afb at macports.org
Tue Aug 28 01:18:17 PDT 2007
>> +# delete symlinks without version suffix, use python_select instead
>> to choose version
>> +platform darwin {
>> + post-destroot {
>> + cd ${destroot}${prefix}
>> + file delete bin/python
>> + file delete bin/pythonw
>> + file delete bin/idle
>> + file delete bin/pydoc
>> + file delete bin/smtpd.py
>> + file rename share/man/man1/python.1
>> share/man/man1/python2.4.1
>> + }
>> +}
>> +
>
> 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.
The first couple of casualties of this change are starting to come in,
people are building py-gtk (or something that depends on it) and find
it is getting linked with Python 2.3. Since /opt/local/bin/python is
now gone, configure will pick up /usr/bin/python instead and go from
there...
--anders
More information about the macports-dev
mailing list