On Sun, 12 Feb 2006 17:49:26 +0100
Simon Stelling <[EMAIL PROTECTED]> wrote:

> R Hill wrote:
> > a global USE flag duplicated in use.local.desc could be used to
> > give specific information about exactly what effect the flag has on
> > a certain package, or if for some reason it does differ slightly
> > from the global meaning.
> > 
> > global use flags (searching: doc)
> > ************************************************************
> > [-    ] doc - Adds extra documentation (API, Javadoc, etc)
> > 
> > local use flags (searching: doc)
> > ************************************************************
> > [-    ] doc (app-examples/fakeapp):
> > Build user manuals in PDF format (requires ps2pdf)
> 
> That'd be bad practice. When a new global use flag is made, the
> requirement is that all local use flags which would get united have
> *the same meaning*. If the meaning is the same, it doesn't make sense
> to mention it twice. If the meaning differs (slightly or not), it
> should get a local use flag.

IIRC the idea behind duplication was not to use a flag for different
purposes, but have a generic description in use.desc (like "doc: build
additional docs") and give a more detailed description in
use.local.desc (like "doc: build API docs and manual as pdf and html").
See http://thread.gmane.org/gmane.linux.gentoo.portage.devel/618 and
http://thread.gmane.org/gmane.linux.gentoo.devel/26035 for the original
threads about this.

-- 
Public Key at http://www.genone.de/info/gpg-key.pub

In the beginning, there was nothing. And God said, 'Let there be
Light.' And there was still nothing, but you could see a bit better.

Attachment: signature.asc
Description: PGP signature

Reply via email to