On Sat, 4 Feb 2017 23:36:56 -0700, [email protected] wrote:

> my next question: What is the correct way to configure "USE=" in
> make.conf?
> 
> When I use a below: (copied from my other systems):
> 
> USE="-qt4 -kde -gnome -arts -berkdb -acl X gtk alsa cups apache2 ssl
> foomaticdb truetype kpathsea ppds mysql udev tiff png usb scanner gimp
> gimpprint cgi fam nptl type1 opengl tetexspell consolkit dbus pam
> policykit jpeg lock session startup-notification thunar cleartype
> corefonts -systemd -DOPENSSL_NO_HEARTBEATS abi_x86_32"

Copying an old USE setting is not the best idea. USE flags, profiles and
your needs change over time and /etc/portage gathers a lot of cruft. Now
you have the system working with the base profile, switch to a profile
that suits your needs and let portage rebuild @world. Then make small
changes to USE flags as needed.

I recently ported a system to new hardware and did the base install this
way. I found that I ended up with a system that worked just the same but
with far less in make.conf and package.use.

With USE flags, small changes are always best. A mass import of a USE
line like that above is likely to cause circular dependencies and other
problems.

How you manage the split between make.conf and package.use is up to you.
If I want a flag to apply globally, I put it in mzke.conf, otherwise it
goes in package.use, in a file names after the software requiring it
(which is not the same as the package name). If I find I have set the
same flag several times in package.use, I consider moving it to make.conf.


-- 
Neil Bothwick

A friend of mine sent me a postcard with a satellite photo of the
entire planet on it, and on the back he wrote, "Wish you were here."

Attachment: pgpN6N_JnxMiI.pgp
Description: OpenPGP digital signature

Reply via email to