port mpkg and variants: failure

Blair Zajac blair at orcaware.com
Sat Dec 8 12:58:09 PST 2012


On Dec 8, 2012, at 8:14 AM, Jeremy Lavergne wrote:

>> "port mpkg" should package a port and all its dependencies, with the variants you specify. So if you "sudo port mpkg foo +bash_completion +dbus +doc +hdri +huge +icu +jbig +jpeg2 +nls +openldap +openssl +pear +perl5_12 +pcre +postgresql92 +python +python27 +svn +ssl +tools +ucs4" it should package up that port and its dependencies with those variants. If that works, then I guess the bug is that mpkg doesn't read variants.conf? mpkg seems to be its own little world; there are several outstanding bugs affecting only mpkg.
> 
> This is a bug I've experienced as well: the variants chosen actually change as it trickles down the tree. Something somewhere clobbers the set of variants.

I'll probably spend some time on this this week.

While I'm asking, can you make a mpkg that contains say git-core, which depends upon a ton of stuff, install it, then if zlib is updated, make a pkg for that and install it on top of the zlib pkg embedded in the mpkg?

Blair



More information about the macports-dev mailing list