From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] [OT] emerge default opts
Date: Sun, 15 Oct 2017 16:36:11 +0100 [thread overview]
Message-ID: <20171015163611.1e8e4e76@digimed.co.uk> (raw)
In-Reply-To: <e999d771-b31d-d9a7-e7ce-a2457de26dac@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 751 bytes --]
On Sun, 15 Oct 2017 09:46:26 -0500, Dale wrote:
> I was thinking it may be harder than one thinks since I don't know of a
> way to do it but have seen some who want something that does it. I'd be
> happy if it just told me what USE flags no longer exist at all. My USE
> line in make.conf is quite lengthy. I'm certain a lot of it could be
> gone. Some may not have existed for years.
How about something like this?
source /etc/portage/make.conf
for flag in $USE; do
grep -q '^${flag} ' $PORTDIR/profile/use.desc || \
grep -q ':${flag} ' $PORTDIR/profile/use.local.desc || \
echo "${flag} not found in use.desc or use.local.desc"
fi
--
Neil Bothwick
OPERATOR ERROR: Nyah, Nyah, Nyah, Nyah, Nyah!
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2017-10-15 15:36 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-14 10:01 [gentoo-user] emerge --emptytree : how to ? Helmut Jarausch
2017-10-14 11:25 ` Dale
2017-10-15 0:26 ` [gentoo-user] [OT] emerge default opts Michael Orlitzky
2017-10-15 1:30 ` Dale
2017-10-15 14:31 ` Michael Orlitzky
2017-10-15 14:46 ` Dale
2017-10-15 15:36 ` Neil Bothwick [this message]
2017-10-15 18:47 ` Alan McKinnon
2017-10-15 20:39 ` Rich Freeman
2017-10-15 21:47 ` Bill Kenworthy
2017-10-20 2:23 ` Michael Orlitzky
2017-10-16 1:51 ` [gentoo-user] emerge --emptytree : how to ? Walter Dnes
2017-10-16 2:35 ` R0b0t1
2017-10-16 2:38 ` Dale
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171015163611.1e8e4e76@digimed.co.uk \
--to=neil@digimed.co.uk \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox