Variant conflicts
Eric A. Borisch
eborisch at macports.org
Wed Nov 18 15:09:41 PST 2015
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
If it looks reasonable (each output line should be <port> <variants> with
no portion of the version string before the variant selections; could
happen if a version includes a dash or plus), then running this (below)
should do it. (Otherwise, just do it manually; likely not too many.)
port echo active and variant:quartz and variant:x11 \
| sed -n -e '/\+quartz/d;s/@[^+-]*//;s/\+x11/-x11+quartz/p' \
| sudo xargs -n 2 port install
Good luck!
- Eric
On Wed, Nov 18, 2015 at 3:29 PM, Bachsau <web at bachsau.name <javascript:;>>
wrote:
> Eric A. Borisch wrote on 18.11.2015 15:43:
>>
>> You are using upgrade; what does 'port active and gtk3' show? +x11
>> perhaps?
>>
>> From the man page:
>>
>> By selecting the variants to use in the upgraded build of the
>> port, any variants specified on the command line take highest
>> precedence, then the variants active in the latest installed
>> version of the port, and finally the global variants specified
>> in variants.conf, if any.
>>
>> (Try adding -x11 to your upgrade line if the port active command above
>> shows +x11.)
>
>
> Yes, it shows +11. I added this my variants.conf after first install of
> gtk3. Is there a way to find all ports still installed with +x11 and
> reinstall with quartz instead?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20151118/5b1e0bf2/attachment.html>
More information about the macports-users
mailing list