Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5731 - portage-2.0.20 || ( foo bar )
Summary: portage-2.0.20 || ( foo bar )
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-29 10:51 UTC by Maurizio Disimino
Modified: 2011-10-30 22:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maurizio Disimino 2002-07-29 10:51:19 UTC
from the Portage Changelog:

DEPEND="|| ( foo bar oni )" now works
  correctly and will try to satisfy "foo" (the first package) 
if none are installed.

Really a good work. This is an useful statement.
Now, I think, we just need a way to specify 
behavior A if "foo" is installed, behavior B if
"bar" is installed and so on ..

A workaround would be [ -x /path/of/foo ]; then
but portage might offer a better way.

Thanks.

Maurizio Disimino
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-07-29 20:55:58 UTC
We generally use USE variables for this.