pkg_version and portversion: ports version comparison weirdness

Conrad J. Sabatier conrads at cox.net
Sun Dec 18 16:43:38 UTC 2011


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?

-- 
Conrad J. Sabatier
conrads at cox.net


More information about the freebsd-ports mailing list