On Mar 3, 2013, at 10:00 AM, Ryan Schmidt <[email protected]> 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 +========================================================+ | *---------------- [email protected] ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ _______________________________________________ macports-dev mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-dev
