port mpkg and variants: failure

Jeremy Lavergne jeremy at lavergne.gotdns.org
Sat Dec 8 08:14:22 PST 2012

> "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.

More information about the macports-dev mailing list