From owner-svn-ports-head@freebsd.org Tue May 8 05:03:44 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4CCDCFCE58B; Tue, 8 May 2018 05:03:44 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 049D1811F0; Tue, 8 May 2018 05:03:44 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id E8BE7A204; Tue, 8 May 2018 05:03:43 +0000 (UTC) From: Jan Beich To: Yuri Cc: Mathieu Arnold , svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org Subject: Re: svn commit: r469254 - head/textproc/dikt References: <201805062257.w46MvB8R049308@repo.freebsd.org> <20180507111805.cfs7k5jahahwmkzj@ogg.in.absolight.net> Date: Tue, 08 May 2018 07:03:36 +0200 In-Reply-To: (yuri@freebsd.org's message of "Mon, 7 May 2018 21:22:04 -0700") Message-ID: <603y-kac7-wny@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 May 2018 05:03:44 -0000 Yuri 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.