[oe-commits] [openembedded-core] 04/12: cpan.bbclass: adopt to recent EU::MM

git at git.openembedded.org git at git.openembedded.org
Wed Aug 22 12:52:44 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 26e6d7cdc7963f196e2a5a249d4b7de270f8b22a
Author: Jens Rehsack <sno at netbsd.org>
AuthorDate: Wed Aug 22 11:04:23 2018 +0200

    cpan.bbclass: adopt to recent EU::MM
    
    The modern the time, the improvements in ExtUtils::MakeMaker.
    
    Nowadays, .packlist and perllocal.pod aren't touched anymore when appropriate
    flags set during configure stage. Controlling the flags globally avoids
    dual-life recipes need share patching.
    
    Further: remove prepending ${PERL_ARCHLIB} in PERL5LIB - it's wrong (search
    order is site_lib, vendor_lib, core) - and ${PERL_ARCHLIB} contains core
    libpath only ...
    
    Signed-off-by: Jens Rehsack <sno at netbsd.org>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/cpan.bbclass | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta/classes/cpan.bbclass b/meta/classes/cpan.bbclass
index 8e079e0..926c635 100644
--- a/meta/classes/cpan.bbclass
+++ b/meta/classes/cpan.bbclass
@@ -16,8 +16,7 @@ export PERL_ARCHLIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version
 export PERLHOSTLIB = "${STAGING_LIBDIR_NATIVE}/perl-native/perl/${@get_perl_version(d)}/"
 
 cpan_do_configure () {
-	export PERL5LIB="${PERL_ARCHLIB}"
-	yes '' | perl ${EXTRA_PERLFLAGS} Makefile.PL INSTALLDIRS=vendor ${EXTRA_CPANFLAGS}
+	yes '' | perl ${EXTRA_PERLFLAGS} Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 ${EXTRA_CPANFLAGS}
 
 	# Makefile.PLs can exit with success without generating a
 	# Makefile, e.g. in cases of missing configure time

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list