Patchwork [13/14] perl-native: create_wrapper on perl${PV} too

login
register
mail settings
Submitter Saul Wold
Date May 16, 2011, 9:44 p.m.
Message ID <674a00cdafa9b97a66d1139ce2279c3b8f660299.1305580484.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/4167/
State New, archived
Headers show

Comments

Saul Wold - May 16, 2011, 9:44 p.m.
From: Tom Rini <tom_rini@mentor.com>

perl${PV} becomes hostperl when building for the target so we need a wrapper
on that too.

This is 1e255fbd296e95ff178d66c4a1fe4875a988d7e1 in OE.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
---
 meta/recipes-devtools/perl/perl-native_5.12.3.bb |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Leon Woestenberg - May 21, 2011, 11:57 p.m.
Hello,

On Mon, May 16, 2011 at 11:44 PM, Saul Wold <sgw@linux.intel.com> wrote:
> From: Tom Rini <tom_rini@mentor.com>
>
> perl${PV} becomes hostperl when building for the target so we need a wrapper
> on that too.
>
> This is 1e255fbd296e95ff178d66c4a1fe4875a988d7e1 in OE.
>
> Signed-off-by: Tom Rini <tom_rini@mentor.com>
> ---
>  meta/recipes-devtools/perl/perl-native_5.12.3.bb |    1 +
>        create_wrapper ${D}${bindir}/perl PERL5LIB='$PERL5LIB:${STAGING_LIBDIR}/perl/${PV}:${STAGING_LIBDIR}/perl/'
> +       create_wrapper ${D}${bindir}/perl${PV} PERL5LIB='$PERL5LIB:${STAGING_LIBDIR}/perl/${PV}:${STAGING_LIBDIR}/perl/'
>  }
> --

Heads up:

Andreas Mueller today reported that this commit breaks his perl build.

See http://article.gmane.org/gmane.comp.handhelds.openembedded/45640

Regards,
Khem Raj - May 22, 2011, 5:12 a.m.
Sent from my iPad

On May 21, 2011, at 4:57 PM, Leon Woestenberg <leon.woestenberg@gmail.com> wrote:

> Hello,
> 
> On Mon, May 16, 2011 at 11:44 PM, Saul Wold <sgw@linux.intel.com> wrote:
>> From: Tom Rini <tom_rini@mentor.com>
>> 
>> perl${PV} becomes hostperl when building for the target so we need a wrapper
>> on that too.
>> 
>> This is 1e255fbd296e95ff178d66c4a1fe4875a988d7e1 in OE.
>> 
>> Signed-off-by: Tom Rini <tom_rini@mentor.com>
>> ---
>>  meta/recipes-devtools/perl/perl-native_5.12.3.bb |    1 +
>>        create_wrapper ${D}${bindir}/perl PERL5LIB='$PERL5LIB:${STAGING_LIBDIR}/perl/${PV}:${STAGING_LIBDIR}/perl/'
>> +       create_wrapper ${D}${bindir}/perl${PV} PERL5LIB='$PERL5LIB:${STAGING_LIBDIR}/perl/${PV}:${STAGING_LIBDIR}/perl/'
>>  }
>> --
> 
> Heads up:
> 
> Andreas Mueller today reported that this commit breaks his perl build.
> 
> See http://article.gmane.org/gmane.comp.handhelds.openembedded/45640
> 

http://git.openembedded.org/cgit.cgi/openembedded-core/commit/?id=a10bd976f4cef54ac50b0c82f885c17a26e5989f

Has already fixed it in oe-core few days back
> Regards,
> -- 
> Leon
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Leon Woestenberg - May 22, 2011, 11:52 a.m.
Hello Khem,

On Sun, May 22, 2011 at 7:12 AM, Khem Raj <raj.khem@gmail.com> wrote:
>>
>> Andreas Mueller today reported that this commit breaks his perl build.
>>
>> See http://article.gmane.org/gmane.comp.handhelds.openembedded/45640
>>
> http://git.openembedded.org/cgit.cgi/openembedded-core/commit/?id=a10bd976f4cef54ac50b0c82f885c17a26e5989f
>
> Has already fixed it in oe-core few days back

Thanks, the tipping point for oe-core becomes evident :)

Regards,

Patch

diff --git a/meta/recipes-devtools/perl/perl-native_5.12.3.bb b/meta/recipes-devtools/perl/perl-native_5.12.3.bb
index f477679..cbb4e78 100644
--- a/meta/recipes-devtools/perl/perl-native_5.12.3.bb
+++ b/meta/recipes-devtools/perl/perl-native_5.12.3.bb
@@ -97,4 +97,5 @@  do_install () {
 	done
 
 	create_wrapper ${D}${bindir}/perl PERL5LIB='$PERL5LIB:${STAGING_LIBDIR}/perl/${PV}:${STAGING_LIBDIR}/perl/'
+	create_wrapper ${D}${bindir}/perl${PV} PERL5LIB='$PERL5LIB:${STAGING_LIBDIR}/perl/${PV}:${STAGING_LIBDIR}/perl/'
 }