[103547] trunk/dports/perl

Ryan Schmidt ryandesign at macports.org
Sun Mar 3 07:00:10 PST 2013


On Feb 28, 2013, at 11:06, dluke at macports.org wrote:

> Revision: 103547
>          https://trac.macports.org/changeset/103547
> Author:   dluke at macports.org
> Date:     2013-02-28 09:06:08 -0800 (Thu, 28 Feb 2013)
> Log Message:
> -----------
> p5-cpan-meta & p5-extutils-makemaker: second attempt at fixing for JSON:PP being in CORE as of perl 5.14
> 
> Modified Paths:
> --------------
>    trunk/dports/perl/p5-cpan-meta/Portfile
>    trunk/dports/perl/p5-extutils-makemaker/Portfile


> -	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.




More information about the macports-dev mailing list