On Fri, Dec 07, 2007 at 02:29:54PM +0100, Alexander Skwar wrote:
> Emil Beinroth <[EMAIL PROTECTED]> wrote:
> > there is a virtual/editor package in the tree, that selects nano as the
> > default choice. 
> 
> How does it do that?

It's done by using the RDEPEND variable inside the virtual/editor
ebuild.

RDEPEND="|| ( app-editors/nano
    app-editors/dav
    ..."

That says that the package needs any of the packages in parentheses to
run. If none of them are installed, the first one in the list is
selected to be installed. (AFAIK)

You can read about this in "man 5 ebuild", on [1] and the glep posted
before (that should be an particularly interesting read).

> How do I make it select something else?

I would say you don't. Just emerge the package you want (as you already
mentioned).

Cheers, Emil

[1] http://devmanual.gentoo.org/general-concepts/dependencies/index.html

-- 
Emil Beinroth
83059 Kolbermoor | Germany
 
BUFFERS=20 FILES=15 2nd down, 4th quarter, 5 yards to go!

Attachment: pgpA9qPm1BFBH.pgp
Description: PGP signature

Reply via email to