Gentoo Archives: gentoo-user

From: "Bo Ørsted Andresen" <bo.andresen@××××.dk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How do I pass options to emerge
Date: Tue, 13 Nov 2007 16:08:37
Message-Id: 200711131701.50241.bo.andresen@zlin.dk
1 On Tuesday 13 November 2007 16:15:31 Neil Bothwick wrote:
2 > On Tue, 13 Nov 2007 16:37:02 +0200, Rumen Yotov wrote:
3 > > > > The package netqmail allows me to specify the value QMAIL_CONF_SPLIT
4 > > > > before it compiles. How do I actually set this value? How do I set
5 > > > > optional flags when I build a package? Do i need to place them in a
6 > > > > file somewhere or can I "export QMAIL_CONF_SPLIT=" in my shell
7 > > > > prior to invoking emerge? --
8 > >
9 > > There're two ways to make this happen:
10 > > 1.EXTRA_ECONF="qmail_conf_split" emerge qmail -av
11 > > 2.Hack the ebuild in your local-overlay
12 > > (/usr/local/portage/net-mail/netqmail).
13 >
14 > 3. In this case, where an env var needs to be set
15 >
16 > ENVVAR="blah" emerge -av foo
17
18 4. mkdir -pv /etc/portage/env/net-mail && \
19 echo 'ENVVAR="blah"' >> /etc/portage/env/net-mail/netqmail
20
21 That way it will be set at every emerge of that one package only..
22
23 --
24 Bo Andresen

Attachments

File name MIME type
signature.asc application/pgp-signature