Ports with version numbers going backwards: devel/ode
Chuck Swiger
cswiger at mac.com
Mon Jun 28 11:00:35 PDT 2004
Oliver Eikemeier wrote:
> Sergey Matveychuk wrote:
[ ... ]
> As far as I understand your proposal this will give us
>
> 0.005 < 0.05 < 0.039 < 0.050 < 0.5 < 0.39 < 0.50 < 0.390 < 0.500
>
> while the current order is
>
> 0.005 = 0.05 = 0.5 < 0.039 = 0.39 < 0.050 = 0.50 < 0.390 < 0.500
>
> so you have `interesting' sequences like `0.05 < 0.039 < 0.5 < 0.39'.
> This is what you intended, but it looks strange to me.
Consider perl-5.006 versus perl-5.6. Should they be equal, or should the
second be greater? We have almost exactly that with the base version at 5.005
and the default perl port at 5.6.1. :-)
Sergy is saying .006 < .6, or ought to be, rather than equal. Basicly, use
the presence of a leading zero to indicate the version # should be considered
via a decimal math comparision, rather than "version # as integer counter".
--
-Chuck
More information about the freebsd-ports
mailing list