Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jul 2012 19:30:43 -0400
From:      Sahil Tandon <sahil+cvs-ports@tandon.net>
To:        Chris Rees <utisoft@gmail.com>
Cc:        "cvs-ports@FreeBSD.org" <cvs-ports@freebsd.org>, ports-committers@freebsd.org, czanik@balabit.hu, cvs-all@freebsd.org, Cy Schubert <cy@freebsd.org>
Subject:   Re: cvs commit: ports/sysutils/syslog-ng-devel Makefile distinfo pkg-plist
Message-ID:  <20120705233043.GA40062@magic.hamla.org>
In-Reply-To: <CADLo83-EVdah8Fy4dMOhjNPUPoxfGKnamwLBG=tvVS_RkQEVWw@mail.gmail.com>
References:  <201207041957.q64JvJ8x025053@repoman.freebsd.org> <CADLo83-EVdah8Fy4dMOhjNPUPoxfGKnamwLBG=tvVS_RkQEVWw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris Rees wrote:
> The PORTVERSION is invalid for this port; having alphabetical
> characters is not allowed in the same part as digits; instead of
> 3.4.0a3 you should have 3.4.0.a.3.

That is inconsistent with the Porter's Handbook, which notes '10.a3' as
a valid PORTVERSION derived from a '10Alpha3' DISTVERSION.

Cy Schubert wrote:
> Unfortunately bsd.port.mk comes up with 3.4.0.a3. This is probably not
> what we want.

3.4.0.a3 is the desired result. The logic in ports/Mk/bsd.port.mk
dictates that when translating DISTVERSION -> PORTVERSION, adjacent
[:alpha:] and [:digit:] are separated by '.' only when the former
appears after the latter.

Alexey Dokuchaev wrote:
> the best way to deal with situations like this is to wait for next
> release, and from that point use DISTVERSION as appropriate.

+1

-- 
Sahil Tandon



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