[OE-core] [PATCH 2/2] cpan_build.bbclass: tell Module::Build the replacement
Khem Raj
raj.khem at gmail.com
Tue May 22 02:16:32 UTC 2018
On Mon, May 21, 2018 at 11:49 AM, Jens Rehsack <rehsack at gmail.com> wrote:
> Instead of patching Module::Build, maybe Module::Build::Tiny and all other
> similar tools, use the official way to tell them which is the target perl
> on target.
>
> Signed-off-by: Jens Rehsack <sno at netbsd.org>
> ---
> meta/classes/cpan_build.bbclass | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/cpan_build.bbclass b/meta/classes/cpan_build.bbclass
> index fac074d610..c2491061fa 100644
> --- a/meta/classes/cpan_build.bbclass
> +++ b/meta/classes/cpan_build.bbclass
> @@ -30,7 +30,7 @@ cpan_build_do_configure () {
> }
>
> cpan_build_do_compile () {
> - perl Build verbose=1
> + perl Build --perl "/usr/bin/perl" verbose=1
perhaps using $[bindir} instead of hardcoding /usr/bin would be better here
> }
>
> cpan_build_do_install () {
> --
> Jens Rehsack - rehsack at gmail.com
>
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
More information about the Openembedded-core
mailing list