Subject: Re: Inconsistent dependency handling
To: None <tech-pkg@netbsd.org>
From: None <joerg@britannica.bec.de>
List: tech-pkg
Date: 05/26/2006 08:54:28
On Wed, May 24, 2006 at 10:22:55PM -0400, Chapman Flack wrote:
> joerg@britannica.bec.de wrote:
> >I was reasonable sure that this does *not* happen. And a quick scan of
> >mk/ doesn't show anything to support this thesis. E.g. dewey and
> >wildcard patterns are *not* passed down. I think the only things that
> >...
> >bin-install is an exact match for dependencies, since PKGNAME_REQD or
> >PKGNAME are simple patterns and therefore exact matches.
> 
> I think we will be on the same page once you have taken a closer look
> at lines 3051 and 3085 in bsd.pkg.mk, and also at 2938 and 2939 where
> the values are used. (r1.1826 on cvsweb). You may want to watch the
> output from a simple test case.

OK, accepted. It seems that the problems I am concerned with are
currently protected by dependency reduction in reduce-depends.mk, which
on the other hand is neither perfect nor efficient.

Joerg