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

git at git.openembedded.org git at git.openembedded.org
Fri Aug 24 11:48:47 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 e89ce96d53b97ce3b5e08bd6c1b7650f7c456a60
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Fri Aug 24 01:07:38 2018 -0700

    Revert "cpan.bbclass: adopt to recent EU::MM"
    
    This reverts commit 2e61533e7c1b1cfd49dc771e907207f11a15c44f.
    
    This patch is causing several recipes to break:
    
    http://errors.yoctoproject.org/Errors/Build/66538/
    
    I can confirm that with reverting this fix these issues are resolved.
    This fix should be delayed until these regressions are fixed.
---
 meta/classes/cpan.bbclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/classes/cpan.bbclass b/meta/classes/cpan.bbclass
index 926c635..8e079e0 100644
--- a/meta/classes/cpan.bbclass
+++ b/meta/classes/cpan.bbclass
@@ -16,7 +16,8 @@ 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 () {
-	yes '' | perl ${EXTRA_PERLFLAGS} Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 ${EXTRA_CPANFLAGS}
+	export PERL5LIB="${PERL_ARCHLIB}"
+	yes '' | perl ${EXTRA_PERLFLAGS} Makefile.PL INSTALLDIRS=vendor ${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