René J.V. Bertin rjvbertin at gmail.com
Thu May 19 08:04:27 PDT 2016

On Thursday May 19 2016 09:39:58 Ryan Schmidt wrote:

>That's not what path:-style dependencies are for, and they don't work like that. A "path:foo:bar" dependency means "if the file at path foo does not exist, install the port bar, which shall provide the file at path foo". It will not reinstall an already installed port with a different variant.

I'd consider that a bug. A port (with a non-default variant) that omits the file "foo" shouldn't satisfy the above criterium. The file is not there, so the port apparently has to be (re)installed -- or at the very least that situation should be raised as an error (indicated port or equivalent is installed but doesn't provide an expected dependency).

I don't see the ultimate difference with "install port:bar+universal because you only have port:bar and we're installing some dependent in its universal variant".


More information about the macports-users mailing list