Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] Is there any short syntax for REQUIRED_USE when a lot of USE flags need another one enabled?
Date: Sat, 17 Dec 2011 16:51:06
Message-Id: 4EECC863.9040007@gentoo.org
In Reply to: [gentoo-portage-dev] Is there any short syntax for REQUIRED_USE when a lot of USE flags need another one enabled? by Pacho Ramos
1 On 12/17/2011 02:24 AM, Pacho Ramos wrote:
2 > I am referring in this case to abiword, it has a "plugins" USE flag that
3 > enables some minimal set of plugins and, then, a lot of USE flags for
4 > building extra plugins (with extra dependencies). All of this extra
5 > plugins need "plugins" USE flag to be enabled. Is there any way to write
6 > a REQUIRED_USE flag variable without needing to list all USE flags
7 > depending on "plugins" to be set?
8
9 I don't think so. You could file a PMS bug for an extension in the next
10 EAPI. I guess it could look something like this:
11
12 || ( foo bar ) ? ( plugins )
13
14 > Thanks a lot for the info :)
15 --
16 Thanks,
17 Zac

Replies