View previous topic :: View next topic |
Author |
Message |
ColonelPanic n00b
Joined: 04 Mar 2003 Posts: 5
|
Posted: Tue Mar 04, 2003 9:51 pm Post subject: Passing configure options to packages through emerge? |
|
|
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 |
|
|
cederberg Guru
Joined: 23 Jan 2003 Posts: 349 Location: Stockholm / Sweden
|
Posted: Tue Mar 04, 2003 10:03 pm Post subject: |
|
|
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 |
|
|
dwilson Tux's lil' helper
Joined: 10 Feb 2003 Posts: 115
|
Posted: Tue Mar 04, 2003 11:45 pm Post subject: |
|
|
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 |
|
|
cederberg Guru
Joined: 23 Jan 2003 Posts: 349 Location: Stockholm / Sweden
|
Posted: Wed Mar 05, 2003 12:58 am Post subject: |
|
|
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 |
|
|
|