Subject: Re: replace-all target for bsd.pkg.mk
To: None <tech-pkg@NetBSD.org>
From: Bernd Ernesti <firstname.lastname@example.org>
Date: 01/19/2006 08:17:09
On Wed, Jan 18, 2006 at 10:24:21PM -0800, Aaron J. Grier wrote:
> On Tue, Jan 17, 2006 at 03:28:46PM +0100, email@example.com wrote:
> > On Tue, Jan 17, 2006 at 03:19:34PM +0100, pancake wrote:
> > > I have been using pkgsrc for years and I always found hard to
> > > upgrade large dependency programs with pkgsrc. BTW the most silly
> > > tip is imho the impossibility to automatize the replace of
> > > dependencies of the main package.
> > Have you looked at pkgtools/pkg_chk?
> sure... but that's not built into existing pkgsrc and requires extra
> steps rather than just typing "make replace-all".
But pkg_chk is the only save way to update packages where the ABI or shared
library major version changes.
make replace would fail in such cases, thats why 'make replace' is considered
as an hack.