[103547] trunk/dports/perl
Daniel J. Luke
dluke at geeklair.net
Sun Mar 3 14:17:46 PST 2013
On Mar 3, 2013, at 10:00 AM, Ryan Schmidt <ryandesign at macports.org> wrote:
>> - if {${perl5.major} < 14} {
>> + if {${perl5.major} < 5.14} {
>
> Interpreted as a floating-point number, 5.8 is greater than 5.14. You need to treat these as version numbers, by using the vercmp procedure.
Oh yep - I didn't think of that (I was originally thinking that perl5.major would have just the 8-16 version since there's already a '5' in the variable name...)
If you (or anyone else) can fix it before I get to it - please do so.
--
Daniel J. Luke
+========================================================+
| *---------------- dluke at geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
| Opinions expressed are mine and do not necessarily |
| reflect the opinions of my employer. |
+========================================================+
More information about the macports-dev
mailing list