Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2001 16:42:36 +0300
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Neil Blakey-Milner <nbm@mithrandr.moria.org>
Cc:        Jun Kuriyama <kuriyama@imgsrc.co.jp>, ports@FreeBSD.org
Subject:   Re: PORTREVISION bumps on dependency changes (Was: Re: cvs commit:  ports/print/freetype2 Makefile)
Message-ID:  <3B52EF44.FA989ED0@FreeBSD.org>
References:  <200107121008.f6CA8iN37556@freefall.freebsd.org> <7mg0c05n3h.wl@waterblue.imgsrc.co.jp> <3B52CDFB.C125416@FreeBSD.org> <7mae253xxw.wl@waterblue.imgsrc.co.jp> <20010716134702.C10331@mithrandr.moria.org> <3B52E709.6514DEC1@FreeBSD.org> <20010716151237.A22423@mithrandr.moria.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Neil Blakey-Milner wrote:

> On Mon 2001-07-16 (16:07), Maxim Sobolev wrote:
> > Neil Blakey-Milner wrote:
> >
> > > On Mon 2001-07-16 (20:39), Jun Kuriyama wrote:
> > > > At Mon, 16 Jul 2001 14:20:27 +0300,
> > > > Maxim Sobolev wrote:
> > > > > I have already done it several minutes after upgrading freetype2.
> > > >
> > > > Ah, sorry.  I missed that.
> > > >
> > > > BTW, is it reasonable to bump PORTREVISION for that case?
> > >
> > > If the dependencies change you _should_ bump PORTREVISION.  If you bump
> > > a library, you _must_ bump PORTREVISION on the dependencies.
> >
> > Nope, you shouldn't do it - it would be poinless.
>
> Why do you believe this?  At least in my world (and PORTREVISION was my
> baby), you're changing the package contents such that before it would
> work with the old library and not with the new library and after it will
> work on the new library, and not with the old library.  With the same
> versioning information.  Maybe I just know nothing about upgradeability,
> but that seems to screw with it.

The FreeBSD package contains exact version of all packages it depends upon
(@pkgdep), isn't it? So, if one of those packages (library) has been upgraded
then the new package linked against this new library will contain correct
information about which versions of package with library it requires and if
upgrade is performed properly this should prevent from using packages linked
with oldest library with newest one and vice versa. I do not see what
PORTREVISION bump would add into this.

-Maxim


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B52EF44.FA989ED0>