Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] pax-utils.eclass: elog -> einfo?
Date: Thu, 17 Mar 2011 23:41:17
Message-Id: 4D829BEF.1060006@gentoo.org
In Reply to: Re: [gentoo-dev] pax-utils.eclass: elog -> einfo? by Mike Frysinger
1 On 03/17/2011 03:18 PM, Mike Frysinger wrote:
2 > On Thursday, March 17, 2011 17:59:44 Kevin F. Quinn wrote:
3 >> I'd suggest doing something like:
4 >>
5 >> use hardened && elog ...
6 >>
7 >> There's an argument that it's better to make decisions according to
8 >> make.conf settings rather than the host system configuration, not
9 >> least to cater for people doing cross-builds. Assuming cross builds
10 >> work at all; I've not tried that for a long time.
11 >
12 > in general, yes. but this would have the unpleasant side effect of having
13 > IUSE=hardened show up for all packages that inherit the eclass.
14 >
15 > also, this code is run at the pkg_* stage, so it's not the normal src host
16 > feature detection. and we're talking about minor output behavior.
17 > -mike
18
19 I don't know the specifics of what PMS says about this, if you put
20 hardened in use.force then portage will allow you to use that flag
21 without it being in IUSE.
22 --
23 Thanks,
24 Zac

Replies

Subject Author
Re: [gentoo-dev] pax-utils.eclass: elog -> einfo? Mike Frysinger <vapier@g.o>