Re: [OE-core] [PATCH] classes/cpan-base: fix for PERLVERSION

2016-12-09 Thread Huang, Jie (Jackie)
Yes, I can fix it in the recipe that uses PERLVERSION as an alternative. Thanks, Jackie From: Burton, Ross [mailto:ross.bur...@intel.com] Sent: Monday, December 05, 2016 11:34 PM To: Huang, Jie (Jackie) Cc: OE-core Subject: Re: [OE-core] [PATCH] classes/cpan-base: fix for PERLVERSION On 9

Re: [OE-core] [PATCH] classes/cpan-base: fix for PERLVERSION

2016-12-05 Thread Burton, Ross
On 9 November 2016 at 05:51, wrote: > -PERLVERSION := "${@get_perl_version(d)}" > +PERLVERSION = "${@get_perl_version(d)}" > This uses := as the get_perl_version is a non-trivial amount of python which doesn't need to be re-evaluated all the time. Have you looked at

[OE-core] [PATCH] classes/cpan-base: fix for PERLVERSION

2016-11-08 Thread jackie.huang
From: Jackie Huang Immediate expansion of get_perl_version() is too early for PERLVERSION, it will result in 'None' before perl is built and packages that rely on this veriable fail to work with the incorrect version. Signed-off-by: Jackie Huang