Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Apr 2016 18:30:46 +0000
From:      Olivier Duchateau <olivierd@freebsd.org>
To:        Mathieu Arnold <mat@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r414011 - head/net/uget
Message-ID:  <20160425183046.2b754f757facbd0159055a67@freebsd.org>
In-Reply-To: <00D77D380F63D017F520CD37@ogg.in.absolight.net>
References:  <201604251550.u3PFo6Ek003804@repo.freebsd.org> <00D77D380F63D017F520CD37@ogg.in.absolight.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 25 Apr 2016 18:03:04 +0200
Mathieu Arnold <mat@FreeBSD.org> wrote:

> +--On 25 avril 2016 15:50:06 +0000 Olivier Duchateau <olivierd@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@freebsd.org>



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