Variant conflicts

Eric A. Borisch eborisch at macports.org
Thu Nov 19 06:35:51 PST 2015


He specifically asked for a way to find and reinstall, not just find. I
provided one. ;)

On Thursday, November 19, 2015, Mojca Miklavec <mojca at macports.org> wrote:

> 2015-11-19 0:09 GMT+01:00 Eric A. Borisch wrote:
> > On Wed, Nov 18, 2015 at 3:29 PM, Bachsau wrote:
> >
> >> Is there a way to find all ports still installed with +x11 and
> >> reinstall with quartz instead?
> >
> > Try this first:
> >
> > port echo active and variant:quartz and variant:x11 \
> >   | sed -n -e '/\+quartz/d;s/@[^+-]*//;s/\+x11/-x11+quartz/p' \
> >   | xargs -n 2
>
> I would never be able to remember that. I would use a simple
>    port installed | grep x11
> to get the initial list.
>
> Mojca
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20151119/a80a27b1/attachment.html>


More information about the macports-users mailing list