Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Ulrich Mueller <ulm@g.o>
Subject: Re: Ideas for a (fast) EAPI=3
Date: Sun, 8 Mar 2009 10:32:51 +0100
>>>>> On Sun, 8 Mar 2009, Ciaran McCreesh wrote:

> Last time I checked, every single use of foo? as a direct child of ||
> in the tree was wrong, as were the Portage docs. Let's say you have the
> following:

>     DEPEND="|| (
>         foo? ( cat/foo )
>         bar? ( cat/bar )
>         cat/baz
>     )"

> Then this is wrong:

>     if use foo ; then
>         myconf="--enable-foo"
>     elif use bar ; then
>         myconf="--enable-bar"
>     else
>         myconf="--enable-baz
>     fi

I would suspect that in most of such cases the code expresses what is
intended, but the dependency should be changed:

    foo? ( cat/foo )
    !foo? (
        bar? ( cat/bar )
        !bar? ( cat/baz )
    )

Ulrich


References:
Ideas for a (fast) EAPI=3
-- Tiziano Müller
Re: Ideas for a (fast) EAPI=3
-- Josh Saddler
Re: Ideas for a (fast) EAPI=3
-- Ciaran McCreesh
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Ideas for a (fast) EAPI=3
Next by thread:
Re: Ideas for a (fast) EAPI=3
Previous by date:
Re: Ideas for a (fast) EAPI=3
Next by date:
Re: Ideas for a (fast) EAPI=3


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.