Hi,

Ciaran McCreesh <[EMAIL PROTECTED]>:

> On Thu, 20 Mar 2008 08:52:40 +0100
> Christian Faulhammer <[EMAIL PROTECTED]> wrote:
> > if has userpriv ${FEATURES} && ! has usersandbox ${FEATURES};then
> >     make check-local || die "test suite failed"
> > else
> >     ewarn "Activate FEATURES=userpriv and deactivate \
> >             FEATURES=usersandbox to run testsuite."
> > fi
> > 
> > ^ That's mlocate, mysql also tests for FEATURES.
> 
> Yeah, and that's a strong case for why we don't want FEATURES used in
> ebuilds -- the ebuild is copying package manager internal logic that
> has changed in the past and may well change in the future.

 Great, I accept that it is wrong, but can you tell me how to actually
rewrite it?  Test for capabilities (read/write) on files or is there a
sane way to tell?

V-Li

-- 
Christian Faulhammer, Gentoo Lisp project
<URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode

<URL:http://www.faulhammer.org/>

Attachment: signature.asc
Description: PGP signature

Reply via email to