How to make sure that one port gets updated before another? (MinGW)

Joshua Root jmr at macports.org
Fri Oct 26 20:58:12 UTC 2018


On 2018-10-27 07:27 , Mojca Miklavec wrote:
> Hi,
> 
> A while ago I tried to update MinGW-w64 to version 6. The problem is
> that one needs to update both of these ports:
>     x86_64-w64-mingw32-crt         5.0.4_0 < 6.0.0_0
>     x86_64-w64-mingw32-winpthreads 5.0.4_0 < 6.0.0_0
> but I cannot figure out how to force "sudo port upgrade outdated" to
> update the crt port first. I did try to add the crt port to explicit
> dependencies, but it doesn't seem to help.

If A depends on B, then B will be upgraded before A. If A doesn't depend
on B, then why would the order matter?

If you're doing bootstrap stuff, consider making a -bootstrap subport of
whatever is needed to break the dependency cycles.

- Josh


More information about the macports-dev mailing list