Subject: Re: Conflicting dependencies, was Re: Unnecessary rebuilding of dependencies
To: None <pkgsrc-users@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: pkgsrc-users
Date: 07/03/2007 20:05:28
On Tue, Jul 03, 2007 at 02:02:44PM -0400, Gary Thorpe wrote:
> It seems libglade depends on both libz.so.1 (which is what the software
> I am building depends on) in pkgsrc _and_ libz.so.0 in base despite me
> rebuilding it with PREFER_PKGSRC = zlib in mk.conf.

It might get that via a dependency.

> Is there any way I can efficiently (not all installed packages depend
> on zlib and pkg_info -R zlib will not show those built against the base
> zlib) update all installed pkgsrc software to now use pkgsrc zlib to
> avoid this in future?

Grep for it in /var/db/pkg/*/+BUILD_INFO. REQUIRES is what you want :-)

Joerg