summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorJens Rehsack <sno@netbsd.org>2018-11-08 16:32:42 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-14 11:14:39 +0000
commit62c15051ce0e69c9ac1fa6dedd5ee840707f882a (patch)
tree47e45ebb7998b23b663a0c2cf21c91c61c0d43ed /meta/classes
parent3689c735b5680bd90ae81ed89d44528d7b5e2ee6 (diff)
downloadpoky-62c15051ce0e69c9ac1fa6dedd5ee840707f882a.tar.gz
cpan.bbclass: avoid newer MakeMaker run perl.real
In newer versions of ExtUtils::MakeMaker, the location of the perl binary to run is determined differently which results in finding ${bindir}/perl.real instead of ${bindir}/perl (From OE-Core rev: 362bd36cbec052d2a37710498c901b699dcf5ca7) Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/cpan.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/cpan.bbclass b/meta/classes/cpan.bbclass
index a5bc301898..511fe3fb92 100644
--- a/meta/classes/cpan.bbclass
+++ b/meta/classes/cpan.bbclass
@@ -16,7 +16,7 @@ export PERL_ARCHLIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version
16export PERLHOSTLIB = "${STAGING_LIBDIR_NATIVE}/perl-native/perl/${@get_perl_version(d)}/" 16export PERLHOSTLIB = "${STAGING_LIBDIR_NATIVE}/perl-native/perl/${@get_perl_version(d)}/"
17 17
18cpan_do_configure () { 18cpan_do_configure () {
19 yes '' | perl ${EXTRA_PERLFLAGS} Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 ${EXTRA_CPANFLAGS} 19 yes '' | perl ${EXTRA_PERLFLAGS} Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 PERL=$(which perl) ${EXTRA_CPANFLAGS}
20 20
21 # Makefile.PLs can exit with success without generating a 21 # Makefile.PLs can exit with success without generating a
22 # Makefile, e.g. in cases of missing configure time 22 # Makefile, e.g. in cases of missing configure time