At 2006-08-12T00:05:48+0000, <[EMAIL PROTECTED]> wrote:
> Date: Fri, 11 Aug 2006 17:05:48 -0700
> From: Richard Fish <[EMAIL PROTECTED]>
> Reply-to: [email protected]
> Subject: Re: [gentoo-amd64] recommended USE flags
> To: [email protected]
> Message-ID: <[EMAIL PROTECTED]>
>
> On 8/11/06, Rafael Barrera Oro <[EMAIL PROTECTED]> wrote:
> >Hello people, i installed a Gentoo 2006.0 with a LiveCD and i noticed
> >make.conf is full of USE flags (a lot of em really) which every now and
> >then cause emerges to merge a lot of packages that i dont need, so i
> >wanted to ask if there is an advisable minimum set of flags that i could
> >use.
>
> I would recommend putting very few flags in make.conf, and making
> heavy use of /etc/portage/package.use. In many cases, we add a flag
> to make.conf because we want functionality for a single package, and
> it ends up affecting other packages as well. Those flags that do go
> in make.conf should truly have some global sense.
>
> A good plan for trimming: for each flag in make.conf, do "USE=-flag
> emerge -DNvp world". If only one or two installed packages use that
> flag, move it it package.use. You also get a chance to possibly
> rebuild some things without those flags to eliminate some
> dependancies.
You can also use equery to determine this, for example:
# equery hasuse ldap
[ Searching for USE flag ldap in all categories among: ]
* installed packages
[I--] [ ] app-admin/sudo-1.6.8_p9-r2 (0)
[I--] [ ] net-proxy/squid-2.5.12-r1 (0)
[I--] [ ] dev-libs/cyrus-sasl-2.1.21-r2 (2)
[I--] [ ] dev-libs/apr-util-0.9.12 (0)
[I--] [ ] net-fs/samba-3.0.22-r3 (0)
[I--] [ ] net-dns/bind-9.3.2 (0)
[I--] [ ] net-misc/openssh-4.3_p2-r1 (0)
[I--] [ ] net-misc/curl-7.15.1-r1 (0)
(equery is part of app-portage/gentoolkit.)
--
J'raxis 270145
http://www.jraxis.com/
--
[email protected] mailing list