port select perl

Ryan Schmidt ryandesign at macports.org
Thu Feb 21 14:44:57 PST 2013

On Feb 21, 2013, at 10:10, Jeremy Lavergne wrote:

> I was digging around in Ubuntu a bit the other day and noticed our `port select` equivalent, alternatives (8):
> http://linux.die.net/man/8/alternatives
> It follows a simple rule: if the version being installed is newer then the currently selected, update the symlinks. If it's older, don't change the symlinks.
> Would this help us in handling multiple versions of perl, since it's a one-way automatic path?

Sounds like you're saying two things:

1. perl should use the "port select" mechanism. I agree, and that's #29763.

2. "port select" should automatically select the port being installed, if it's newer than the one that was selected. I'm not sure I agree about that. It could certainly print a message to the user advising them that this is newer and maybe they want to update their selection.

More information about the macports-dev mailing list