Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 May 2018 07:03:36 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Yuri <yuri@freebsd.org>
Cc:        Mathieu Arnold <mat@freebsd.org>, svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r469254 - head/textproc/dikt
Message-ID:  <603y-kac7-wny@FreeBSD.org>
In-Reply-To: <fad2331a-4dbd-b533-8e5c-e6e930b713a8@freebsd.org> (yuri@freebsd.org's message of "Mon, 7 May 2018 21:22:04 -0700")
References:  <201805062257.w46MvB8R049308@repo.freebsd.org> <20180507111805.cfs7k5jahahwmkzj@ogg.in.absolight.net> <fad2331a-4dbd-b533-8e5c-e6e930b713a8@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Yuri <yuri@freebsd.org> writes:

> On 05/07/18 04:18, Mathieu Arnold wrote:
>
>> Why was the port version not updated to 2s1?  Upstream version did not
>> go backwards, it went up, from 2l3 to 2s1.
>
>
> When the previous version of this port had
>
> PORTVERSION=    2l3
>
> and the new version had
>
> DISTVERSION=    2s1
>
> portlint complained:
>
> $ portlint -C
> FATAL: Makefile: dikt-2.s1 < dikt-2l3_2. Choose another PORTVERSION or
> bump PORTEPOCH.
> 1 fatal error and 0 warnings found.

DISTVERSION does post-processing, trying to standadize format. In this case,
the issue arose from PORTVERSION -> DISTVERSION conversion.

$ pkg version -t 2l3 2s1
<
$ pkg version -t 2l3 2.s1
>

>From https://www.freebsd.org/doc/en/books/porters-handbook/makefile-naming.html#makefile-versions
> If the version contains letters, it might be needed to set PORTVERSION
> and not DISTVERSION.
[...]
> From time to time, some software will use a version scheme that is not
> compatible with how DISTVERSION translates in PORTVERSION.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?603y-kac7-wny>