Quick question: how to "clear" earlier variants list?

Kennedy, Smith (Wireless Architect) smith.kennedy at hp.com
Thu Sep 17 10:29:52 PDT 2015

Thanks.  I understand why they are sticky, I'm just fighting with the Wireshark port and need it to build...

I ended up wiping out all of /opt and reinstalling MacPorts 2.3.3 to try from scratch.  And now I also just blew up my build environment by installing Xcode 7...and there is no OS X 10.10 SDK... 😞


> On 2015-09-17, at 11:18 AM, Ryan Schmidt <ryandesign at macports.org> wrote:
> On Sep 17, 2015, at 11:40 AM, Kennedy, Smith wrote:
>> I've been struggling with getting Wireshark 1.12.7 to build lately - there seems to be some issue with the Lua bindings.  I tried to disable the Lua bindings in the build, but the set of variants I had previously set seem to be "sticky", even after I do a "sudo port clean --all wireshark".  What else do I need to do to clear out the previously set of variants?
> Variants are intended to be sticky to the extent that if you install a port with a particular set of variants, that set of variants will be preserved when you later upgrade the port. If you don't want that, install (not upgrade) the port, with the set of variants you want.
> Variants are also intended to be sticky to the extent that if you list some variants in the variants.conf file, that list of variants will be used for any port you install thereafter.
> Individual ports can also declare that certain variants should be on by default. For example wireshark turns most of its variants on by default, including the lua variant. You can see this by running "port variants wireshark" or "port info wireshark"; the variant names that are preceded by "[+]" are on by default. If you don't want some of those variants, explicitly disable them when installing (and your choice will be remembered when upgrading).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4956 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20150917/96e8413c/attachment.p7s>

More information about the macports-users mailing list