pkg_version and portversion: ports version comparison weirdness

Julien Laffaye jlaffaye at FreeBSD.org
Sun Dec 18 16:45:07 UTC 2011


On 12/18/2011 17:43, Conrad J. Sabatier wrote:
> Can anyone explain why I'm seeing the following?
>
> libX11-1.4.99.1<    needs updating (index has
> 1.4.4,1)
>
> How is it that version 1.4.99.1 compares as "less than" 1.4.4,1?
> Since when is 99<  4?
>
> Is it the PORTEPOCH in 1.4.4,1 that's throwing a monkey wrench into the
> works?
>
> This makes no sense to me.  What is the logic being applied here?
>
That's the point of the ,1 ...


More information about the freebsd-ports mailing list