On Wed, 17 Aug 2011 10:19:06 +0200
Ulrich Mueller <u...@gentoo.org> wrote:

> >>>>> On Wed, 17 Aug 2011, Michał Górny wrote:
> 
> > And isn't a random PROPERTIES value more fragile? If someone uses it
> > incorrectly, the results are undefined. With older PMs, results are
> > undefined.
> 
> > While having empty SRC_URI and no DEFINED_PHASES guarantees that
> > the ebuild won't install a file. That's just per-def, nothing can
> > happen.
> 
> Unfortunately, the inverse is not true. There are virtuals that
> define phase functions, see virtual/ruby-* for example.

And that's another issue in the ebuild. It should be fixed so that
phase functions won't be exported in the first place rather than
redefining them. This way, PM could assume it doesn't need to execute
those at all rather than running dummy code.

-- 
Best regards,
Michał Górny

Attachment: signature.asc
Description: PGP signature

Reply via email to