[OE-core] [PATCH 1/2] cpan.bbclass: adopt to recent EU::MM

Jens Rehsack rehsack at gmail.com
Tue Aug 14 10:02:19 UTC 2018


Hi Ross,

I did on August, 8th - but I don't see it in master-next or any issue reported on that...
Did it arrive?

Cheers,
Jens

> Am 06.08.2018 um 14:00 schrieb Burton, Ross <ross.burton at intel.com>:
> 
> Hi Jens,
> 
> Can you use git-send-email, as the patch gets corrupted by Apple Mail.
> 
> Ross
> 
> On 2 August 2018 at 09:20, Jens Rehsack <rehsack at gmail.com> wrote:
>> 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>
>> ---
>> 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 8e079e0d55..926c6358a6 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
>> --
>> 2.17.1
>> 
>> 
>> --
>> Jens Rehsack - rehsack at gmail.com
>> 
>> 
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>> 

--
Jens Rehsack - rehsack at gmail.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20180814/13a75afc/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20180814/13a75afc/attachment-0002.sig>


More information about the Openembedded-core mailing list