On 2015-11-10 03:08 , Artur Szostak wrote: > Hi, > > Is MacPorts supposed to work correctly if multiple repositories are added to > the /opt/local/etc/macports/sources.conf file, each with a different version > of the Portfile, but with the same port name? > In such a scenario with multiple versions, I notice that things like the > following do not appear to work as expected, i.e. the wrong version is > selected or the dependencies are not followed: > > port install myport @1.2 > port install myport version:1.2 > port activate myport @1.2 > port activate myport version:1.2 > port uninstall --follow-dependencies myport @1.2 > port uninstall --follow-dependencies myport version:1.2
It works correctly for some value of "correct". ;) The Portfile in the source that is listed first in sources.conf is the one that is used. You can't specify a version when installing a port, only the one current version is ever available. - Josh _______________________________________________ macports-dev mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-dev
