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