Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Quick question about make.conf [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Ciylana
n00b
n00b


Joined: 09 Nov 2009
Posts: 9
Location: United Kingdom

PostPosted: Wed Jan 13, 2010 9:15 am    Post subject: Quick question about make.conf [solved] Reply with quote

Can I have more than one USE line? I would like to seperate out the flags and -flags, if you know what I mean.

Last edited by Ciylana on Wed Jan 13, 2010 9:42 am; edited 1 time in total
Back to top
View user's profile Send private message
Hupf
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2005
Posts: 110
Location: Germany

PostPosted: Wed Jan 13, 2010 9:35 am    Post subject: Reply with quote

There are two ways:
Code:

USE="alsa aac bindist \
     -gtk -gnome -glibc-omitfp"

or (allows you to use comments at the end of the line):
Code:

USE="alsa aac bindist" #comment
USE="${USE} -gtk -gnome -glibc-omitfp"
Back to top
View user's profile Send private message
Ciylana
n00b
n00b


Joined: 09 Nov 2009
Posts: 9
Location: United Kingdom

PostPosted: Wed Jan 13, 2010 9:42 am    Post subject: Reply with quote

Perfect! Thankyou :)
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Wed Jan 13, 2010 12:39 pm    Post subject: Reply with quote

Hupf wrote:
Code:
USE="alsa aac bindist \
     -gtk -gnome -glibc-omitfp"

No need for \ as the whole thing is within quotes.
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Wed Jan 13, 2010 12:43 pm    Post subject: Reply with quote

In fact, you can have a really big use flags variable, I saw the other day a use flag variable that had almost 10 lines, so go for it :P
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Wed Jan 13, 2010 2:58 pm    Post subject: Reply with quote

d2_racing wrote:
In fact, you can have a really big use flags variable, I saw the other day a use flag variable that had almost 10 lines, so go for it :P

If you think that's big... on my desktop I have 24 lines. :D
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Wed Jan 13, 2010 5:06 pm    Post subject: Reply with quote

Of course, since you are a Dev, you need to test a lot of stuff and double check if they actually break :P
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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