Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Passing configure options to packages through emerge?
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
ColonelPanic
n00b
n00b


Joined: 04 Mar 2003
Posts: 5

PostPosted: Tue Mar 04, 2003 9:51 pm    Post subject: Passing configure options to packages through emerge? Reply with quote

I'd like to compile Mozilla to support SVG, but to do that I need to pass some commandline args to the configure script for mozilla. How do I go about doing this with emerge?

Or, optionally, there can be a .mozconfig file that contains:

ac_add_options --enable-svg
ac_add_options --enable-svg-renderer-libart
mk_add_options MOZ_INTERNAL_LIBART_LGPL=1
MOZ_INTERNAL_LIBART_LGPL=1

How can I get emerge to download the mozilla package, but not compile it yet, then edit a .mozconfig file and have emerge compile mozilla after editing?
Back to top
View user's profile Send private message
cederberg
Guru
Guru


Joined: 23 Jan 2003
Posts: 349
Location: Stockholm / Sweden

PostPosted: Tue Mar 04, 2003 10:03 pm    Post subject: Reply with quote

Ah, thanks for reminding me. I asked the same thing a couple of days ago, without anyone answering... :-(

I had actually forgot all about it, so I still havn't tried my own suggestion (went off and did other things), but you might try it yourself:

Code:
export USE="mozsvg" emerge mozilla


Maybe you have to add the use flag to your make.conf or maybe it doesn't work at all. I guess I shouldn't suggest things that I have no clue if they are going to work or not, but I will try this myself now that I remembered it!
Back to top
View user's profile Send private message
dwilson
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2003
Posts: 115

PostPosted: Tue Mar 04, 2003 11:45 pm    Post subject: Reply with quote

Code:
emerge -f mozilla


That will just fetch the packages then. Go ahead and edit the config file and emerge mozilla. That will compile the package as you edited.
Back to top
View user's profile Send private message
cederberg
Guru
Guru


Joined: 23 Jan 2003
Posts: 349
Location: Stockholm / Sweden

PostPosted: Wed Mar 05, 2003 12:58 am    Post subject: Reply with quote

Just writing to report success. I built my SVG-enabled mozilla in this way:

Code:
export USE="mozsvg"
emerge mozilla


There is no need to edit config files or anything of the sort. The ebuild has already been prepared for SVG (and some other Mozilla tweaks... have a look!).

So, try it out yourself. SVG rocks!
Back to top
View user's profile Send private message
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