1 |
Hi, |
2 |
|
3 |
Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>: |
4 |
|
5 |
> On Thu, 20 Mar 2008 08:52:40 +0100 |
6 |
> Christian Faulhammer <opfer@g.o> wrote: |
7 |
> > if has userpriv ${FEATURES} && ! has usersandbox ${FEATURES};then |
8 |
> > make check-local || die "test suite failed" |
9 |
> > else |
10 |
> > ewarn "Activate FEATURES=userpriv and deactivate \ |
11 |
> > FEATURES=usersandbox to run testsuite." |
12 |
> > fi |
13 |
> > |
14 |
> > ^ That's mlocate, mysql also tests for FEATURES. |
15 |
> |
16 |
> Yeah, and that's a strong case for why we don't want FEATURES used in |
17 |
> ebuilds -- the ebuild is copying package manager internal logic that |
18 |
> has changed in the past and may well change in the future. |
19 |
|
20 |
Great, I accept that it is wrong, but can you tell me how to actually |
21 |
rewrite it? Test for capabilities (read/write) on files or is there a |
22 |
sane way to tell? |
23 |
|
24 |
V-Li |
25 |
|
26 |
-- |
27 |
Christian Faulhammer, Gentoo Lisp project |
28 |
<URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode |
29 |
|
30 |
<URL:http://www.faulhammer.org/> |