svn commit: r414011 - head/net/uget
Olivier Duchateau
olivierd at freebsd.org
Mon Apr 25 16:32:55 UTC 2016
On Mon, 25 Apr 2016 18:03:04 +0200
Mathieu Arnold <mat at FreeBSD.org> wrote:
> +--On 25 avril 2016 15:50:06 +0000 Olivier Duchateau <olivierd at FreeBSD.org>
> wrote:
> |
> | PORTNAME= uget
> | -PORTVERSION= 2.0.7
> | +PORTVERSION= 2.0.7.2
> | +DISTVERSION= ${PORTVERSION:S/.2$//}
> | +DISTVERSIONSUFFIX= -2
>
> That is *completely* bogus.
>
> You either use PORTVERSION, or DISTVERSION, not both.
>
> In this case, I think you want:
>
> DISTVERSION=2.0.7-2
But, when I compare two version number strings, update (2.0.7-2) is considered lower than 2.0.7. Unless I use PORTEPOCH macro.
pkg version -t 2.0.7 2.0.7-2
>
pkg version -t 2.0.7 2.0.7-2,1
<
>
> --
> Mathieu Arnold
--
Olivier Duchateau <olivierd at freebsd.org>
More information about the svn-ports-head
mailing list