View previous topic :: View next topic |
Author |
Message |
Root Moose Tux's lil' helper
Joined: 29 Jan 2004 Posts: 112
|
Posted: Tue Nov 28, 2006 7:51 pm Post subject: Custom configure parameter? |
|
|
How do you emerge a package with a custom ./configure parameter? I need to emerge mailman with a configure step something like:
./configure --with-mail-gid=mail
Is there a way to make this change with portage? A file in /etc/portage I can add this info into? I did a man portage but nothing jumps out at me.
TIA |
|
Back to top |
|
|
Scratalacha Tux's lil' helper
Joined: 24 Feb 2004 Posts: 127
|
Posted: Tue Nov 28, 2006 7:57 pm Post subject: |
|
|
If the ebuild uses econf (which it likely does), you can try setting ${EXTRA_ECONF} as you want it to appear in the configure line. Read 'man 5 ebuild' for more info under the econf section. _________________ Anime ate my computer |
|
Back to top |
|
|
Dan Veteran
Joined: 25 Oct 2005 Posts: 1302
|
Posted: Tue Nov 28, 2006 7:57 pm Post subject: |
|
|
which application exactly?
you could possibly edit the ebuild or the makefile or maybe simply add a USE flag |
|
Back to top |
|
|
Root Moose Tux's lil' helper
Joined: 29 Jan 2004 Posts: 112
|
Posted: Tue Nov 28, 2006 9:10 pm Post subject: |
|
|
Scratalacha wrote: | If the ebuild uses econf (which it likely does), you can try setting ${EXTRA_ECONF} as you want it to appear in the configure line. Read 'man 5 ebuild' for more info under the econf section. |
Thanks!
This worked:
Code: | EXTRA_ECONF="--with-mail-gid=mail" emerge -avt mailman |
On to correcting configuration stuff.
Is there a way to make this a permanent setting for net-mail/mailman? I didn't see anything in the man page.
Sendmail is in place. Here is what i was trying to correct:
Code: | ----- The following addresses had permanent fatal errors -----
"|/usr/local/mailman/mail/mailman post xjpilot"
(reason: 2)
(expanded from: <xjpilot@somedomain>)
----- Transcript of session follows -----
451 4.0.0 putbody: write error: Broken pipe
Group mismatch error. Mailman expected the mail
wrapper script to be executed as group "mailman", but
the system's mail server executed the mail script as
group "mail". Try tweaking the mail server to run the
script as group "mailman", or re-run configure,
providing the command line option `--with-mail-gid=mail'.
554 5.3.0 unknown mailer error 2
Reporting-MTA: dns; somedomain
Received-From-MTA: DNS; otherdomain
Arrival-Date: Tue, 28 Nov 2006 14:28:08 -0500 |
|
|
Back to top |
|
|
Scratalacha Tux's lil' helper
Joined: 24 Feb 2004 Posts: 127
|
Posted: Tue Nov 28, 2006 9:23 pm Post subject: |
|
|
I'm afraid there is no easy way that I am aware of to make that setting permanent aside from editing the ebuild itself and putting it into a portage overlay. _________________ Anime ate my computer |
|
Back to top |
|
|
Root Moose Tux's lil' helper
Joined: 29 Jan 2004 Posts: 112
|
Posted: Wed Nov 29, 2006 4:09 pm Post subject: |
|
|
Scratalacha wrote: | I'm afraid there is no easy way that I am aware of to make that setting permanent aside from editing the ebuild itself and putting it into a portage overlay. |
Ok, thanks.
I've added the package to package.provided to control the emerge of new versions. |
|
Back to top |
|
|
|