From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 2/2] perl-dynloader.patch: Fix libdir issue for multilib
Date: Wed, 20 Jul 2011 15:34:25 +0100 [thread overview]
Message-ID: <1311172466.2344.43.camel@rex> (raw)
In-Reply-To: <93848d65e679794e5aa41e548ee275378518d071.1311151283.git.lei.mei@intel.com>
On Wed, 2011-07-20 at 16:48 +0800, Mei Lei wrote:
> The perl-dynloader.patch can't support /usr/lib64, change the regular expression to support multilib.
>
> Signed-off-by: Mei Lei <lei.mei@intel.com>
> ---
> .../perl/perl-5.12.3/perl-dynloader.patch | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-devtools/perl/perl-5.12.3/perl-dynloader.patch b/meta/recipes-devtools/perl/perl-5.12.3/perl-dynloader.patch
> index d5ea00f..a45af91 100644
> --- a/meta/recipes-devtools/perl/perl-5.12.3/perl-dynloader.patch
> +++ b/meta/recipes-devtools/perl/perl-5.12.3/perl-dynloader.patch
> @@ -19,7 +19,7 @@ Update by Nitin A Kamble <nitin.a.kamble@intel.com> 2011/04/21
> + {
> + my $hostlib = $ENV{PERLHOSTLIB};
> + print STDERR "*** Module name IN: $modlibname\n";
> -+ ($p1, $p2, $p3, $p4, $p5) = $modlibname =~ m/(^(.*lib\/)?)((perl\/[0-9\.]*\/)?)(.*)$/;
> ++ ($p1, $p2, $p3, $p4, $p5) = $modlibname =~ m/(^(.*lib[0-9]*\/)?)((perl\/[0-9\.]*\/)?)(.*)$/;
> + print STDERR "*** p1: $p1 p3: $p3 p5: $p5\n";
> + if ( $p1 ne "" ) {
> + $modlibname = $hostlib.$p5;
We might need to relax this a little further since we might want things
like libx32 to work in future?
Cheers,
Richard
next prev parent reply other threads:[~2011-07-20 14:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-20 8:48 [PATCH 0/2]multilib: Change hard coded /usr/lib path Mei Lei
2011-07-20 8:48 ` [PATCH 1/2] lsbsetup_1.0.bb: Change the hardcoded /usr/lib to support multilib Mei Lei
2011-07-20 14:43 ` Richard Purdie
2011-07-20 8:48 ` [PATCH 2/2] perl-dynloader.patch: Fix libdir issue for multilib Mei Lei
2011-07-20 14:34 ` Richard Purdie [this message]
2011-07-21 7:54 ` Mei, Lei
2011-07-21 15:57 ` Kamble, Nitin A
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1311172466.2344.43.camel@rex \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox