list active ports with non-default variants

Clemens Lang cal at macports.org
Thu Mar 6 10:59:55 PST 2014


Hi,

> > Does anyone have a command for listing active ports with non-default
> > variants?
> 
> I'm not aware of any, but I'd love to find there is one. I usually end
> up dumping a list of installed ports to a file and then removing
> variants that I know are in my default configuration. Then I go port
> by port, comparing what's left.
> 
> I'd love a command like "port installed --without-default-variants"
> that would omit variants that are enabled by befault by the port or
> user configuration.

We should really extend the "requested" mechanism to track user-requested variants. That would also give us a clean upgrade path when changing default variants.

-- 
Clemens Lang


More information about the macports-users mailing list