svn commit: r528808 - head/net/nsq

Mathieu Arnold mat at FreeBSD.org
Sun Mar 22 08:32:40 UTC 2020


On Sat, Mar 21, 2020 at 09:13:48PM +0100, Gerald Pfeifer wrote:
> On Sat, 21 Mar 2020, Mathieu Arnold wrote:
> >> +PORTREVISION=	2
> > Why bump PORTREVISION?
> 
> John, as a bit more color: when a commit solely allows a port to build 
> that failed to build before, or build where it did not build before (OS 
> version, architecture,...) we don't usually bump PORTREVISION.

I do not understand what is so hard with understanding why PORTREVISION
exists.

PORTREVISION exists to tell tools that a package is obsolete and needs
to be rebuilt.  We bump it when we make changes to the port that whilst
the upstream version of the port stays the same, the package needs to be
rebuilt because reasons. (Reasons explained in the porter's handbook.)

If it was not building before, then there is no obsolete package with
the same version, so you do not bump PORTREVISION.

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20200322/9e9e408b/attachment.sig>


More information about the svn-ports-all mailing list