mpkg package variants

Ryan Schmidt ryandesign at
Tue Oct 1 03:42:19 UTC 2019

On Sep 29, 2019, at 08:57, Werner LEMBERG wrote:

> Let me reformulate my question: Does the way how I have installed
> MacPorts packages on my computer influence how `port mpkg' works for a
> given package?  Given that `port mpkg' rebuilds all packages, I would
> expect no.  Instead, I would expect some control file (or a special
> command line sequence) to control variants of package dependencies.
> Is this flawed thinking?

I believe you can just specify the variants that you want (for the port and all of its dependencies) at the command line when you run `port mpkg`, can't you? As in:

sudo port mpkg lilypond-devel +mactex +perl5_28

More information about the macports-users mailing list