View previous topic :: View next topic |
Author |
Message |
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Sun Apr 14, 2002 11:48 am Post subject: how to add use variables to make.conf? |
|
|
how do you add a use variable to your make.conf file?
for example if I want to use CUPS or PDA
where would such entries go ? |
|
Back to top |
|
|
gschneider Tux's lil' helper
Joined: 10 Apr 2002 Posts: 81 Location: Rostock, Germany
|
Posted: Sun Apr 14, 2002 12:45 pm Post subject: |
|
|
just add a line:
USE="cups pda" _________________ /(bb|[^b]{2})/ |
|
Back to top |
|
|
freefall Tux's lil' helper
Joined: 13 Apr 2002 Posts: 89
|
Posted: Sun Apr 14, 2002 2:11 pm Post subject: |
|
|
If you want to disable a variable add a - before the variable.
USE="-kde -gtk" |
|
Back to top |
|
|
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Sun Apr 14, 2002 9:54 pm Post subject: |
|
|
sweet ta |
|
Back to top |
|
|
KraGorn n00b
Joined: 17 Apr 2002 Posts: 40 Location: Warrington, England
|
Posted: Wed Apr 17, 2002 6:29 pm Post subject: |
|
|
As a complete newbie to gentoo ... just booted my first system ... how do I find out just what USE variables are available for what packages, is there a list, do I have to poke around a config file ... I'm bemused at the moment as to how to do this. _________________ You'll never catch ME using a sig.! |
|
Back to top |
|
|
gschneider Tux's lil' helper
Joined: 10 Apr 2002 Posts: 81 Location: Rostock, Germany
|
Posted: Wed Apr 17, 2002 6:33 pm Post subject: |
|
|
less /usr/portage/profile/use.desc _________________ /(bb|[^b]{2})/ |
|
Back to top |
|
|
KraGorn n00b
Joined: 17 Apr 2002 Posts: 40 Location: Warrington, England
|
Posted: Wed Apr 17, 2002 7:16 pm Post subject: |
|
|
Thanks very much ... one more question if I may, please ...
For my first attempt at a solo-flying package installation I'm trying to emerge vim, doing a --pretend I see it installing X, gnome etc. IIRC this is because the .ebuild script for VIM has it depending on a series of USE tags ... hence my first question. It now appears that make.defaults sets a large number of USE tags "on" which means I'll have to have a large number of "-tag" is make.conf to undo them. Since this Linux box will be a web/ssh/ftp/whateverelse server I don't want most of the defaults.
Question: is it safe to simply comment-out this line in /etc/make.profile/make.defaults and then simply USE= in make.conf in the usual way.
The answer would seem an obvious "yes" but will this file get overwritten when I next do an emerge rsync or some other automated Portage process?
Sorry, I'm sure this is an FAQ but the FAQ section doesn't indicate the best way to turn off all the defaults. _________________ You'll never catch ME using a sig.! |
|
Back to top |
|
|
Nitro Bodhisattva
Joined: 08 Apr 2002 Posts: 661 Location: San Francisco
|
Posted: Wed Apr 17, 2002 8:30 pm Post subject: |
|
|
KraGorn wrote: | Question: is it safe to simply comment-out this line in /etc/make.profile/make.defaults and then simply USE= in make.conf in the usual way. |
If you look at /etc/make.profile, you will find that it is actually a symbolic link to /usr/portage/profiles/default-1.0. The mtime on my make.defaults was today, and I didn't edit it today, so it was updated by (most likely) emerge rsync. _________________ - Kyle Manna
Please, please SEARCH before posting.
There are three kinds of people in the world: those who can count, and those who can't. |
|
Back to top |
|
|
lazaruslong Guest
|
Posted: Fri Apr 19, 2002 12:35 am Post subject: Do emerge scripts add items to the USE variable? |
|
|
So do emerge scripts add items to the USE variable when they are run so that the presence of a package will alter future builds?
- and if so is there a way to tell what ports that are currently installed should be rebuilt because of new USE variables? |
|
Back to top |
|
|
|