Handling of multiple Portfile versions

Artur Szostak aszostak at partner.eso.org
Mon Nov 9 08:08:45 PST 2015


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

Kind regards.


More information about the macports-dev mailing list