1 |
В Птн, 01/07/2011 в 09:09 +0100, Ciaran McCreesh пишет: |
2 |
> On Fri, 01 Jul 2011 12:03:41 +0400 |
3 |
> Peter Volkov <pva@g.o> wrote: |
4 |
> > > pkg_setup() { |
5 |
> > > if use scripts && use !xmlrpc && use !metalink; then |
6 |
> > |
7 |
> > This really calls for REQUIRED_USE from EAPI="4". |
8 |
> > |
9 |
> > REQUIRED_USE="scripts? ( ^^ ( xmlrpc metalink ) )" |
10 |
> |
11 |
> That's not the same condition as the one in the pkg_setup. |
12 |
|
13 |
Ah, yea. I guess any of xmlrpc or metalink are required for scripts. So, |
14 |
correct one should be: |
15 |
|
16 |
REQUIRED_USE="scripts? ( || ( xmlrpc metalink ) )" |
17 |
|
18 |
-- |
19 |
Peter. |