svn commit: r469254 - head/textproc/dikt

Jan Beich jbeich at FreeBSD.org
Tue May 8 05:03:44 UTC 2018


Yuri <yuri at 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.


More information about the svn-ports-head mailing list