mpkg package variants

Werner LEMBERG wl at gnu.org
Sat Sep 28 18:49:36 UTC 2019


Folks,


I wonder how package variants are handled while creating `mpkg'
bundles.  As an example, consider the output of

  port rdeps lilypond-devel +mactex

Looking at it you can see

  ...
  ossp-uuid
    perl5.26
    ...

and

  ...
  llvm-3.4
    perl5
      perl5.28
      ...

The created `mpgk-packages' directory indeed contains both perl 5.26
and 5.28.

However, it is possible to install `ossp-uuid' as

  port install ossp-uuid +perl5_28

In other words, it would be possible to omit a dependency on
`perl5.26' altogether.  What must I do to enforce this for `port
mpkg'?  This would reduce the size of the bundle by approx 16MByte...


    Werner


More information about the macports-users mailing list