Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to add use variables to make.conf?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Sun Apr 14, 2002 11:48 am    Post subject: how to add use variables to make.conf? Reply with quote

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
View user's profile Send private message
gschneider
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2002
Posts: 81
Location: Rostock, Germany

PostPosted: Sun Apr 14, 2002 12:45 pm    Post subject: Reply with quote

just add a line:

USE="cups pda"
_________________
/(bb|[^b]{2})/
Back to top
View user's profile Send private message
freefall
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2002
Posts: 89

PostPosted: Sun Apr 14, 2002 2:11 pm    Post subject: Reply with quote

If you want to disable a variable add a - before the variable.

USE="-kde -gtk"
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Sun Apr 14, 2002 9:54 pm    Post subject: Reply with quote

sweet ta
Back to top
View user's profile Send private message
KraGorn
n00b
n00b


Joined: 17 Apr 2002
Posts: 40
Location: Warrington, England

PostPosted: Wed Apr 17, 2002 6:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
gschneider
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2002
Posts: 81
Location: Rostock, Germany

PostPosted: Wed Apr 17, 2002 6:33 pm    Post subject: Reply with quote

less /usr/portage/profile/use.desc
_________________
/(bb|[^b]{2})/
Back to top
View user's profile Send private message
KraGorn
n00b
n00b


Joined: 17 Apr 2002
Posts: 40
Location: Warrington, England

PostPosted: Wed Apr 17, 2002 7:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Wed Apr 17, 2002 8:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
lazaruslong
Guest





PostPosted: Fri Apr 19, 2002 12:35 am    Post subject: Do emerge scripts add items to the USE variable? Reply with quote

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
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum