+# 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
_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-dev