Gentoo Archives: gentoo-portage-dev

From: Brian Harring <ferringb@×××××.com>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] Re: forcing a USE flag if another is on
Date: Thu, 31 Dec 2009 02:10:28
Message-Id: 20091231020927.GA21649@hrair.c.nixle.com
In Reply to: [gentoo-portage-dev] Re: forcing a USE flag if another is on by Duncan <1i5t5.duncan@cox.net>
1 On Wed, Dec 30, 2009 at 04:20:45PM +0000, Duncan wrote:
2 > Amit Dor-Shifer posted on Wed, 30 Dec 2009 16:45:40 +0200 as excerpted:
3 >
4 > > Is there some method of specifing "if USE flag X is enabled, enable USE
5 > > flag y as-well"? Something like a "conditional" use.force file in
6 > > profiles/. Amit
7 >
8 > That should be doable globally using /etc/portage/bashrc or the like (
9 > /etc/portage/profile/bashrc).
10
11 It's not doable via bashrc (bashrc runs at build time)- intentionally
12 to block abuses of this sort I might add.
13
14 Reiterating- playing w/ USE in bash doesn't change the USE state
15 python/package manager side, meaning you'll not get the proper
16 depedencies pulled in...
17
18 ~harring