From: Saul Wold <sgw@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PULL v2 1/1] cpan.bbclass: fix native perl issue
Date: Wed, 7 Sep 2011 09:12:48 -0700 [thread overview]
Message-ID: <68679302c46936d2e2f7b0980ec325c398dd5e73.1315411864.git.sgw@linux.intel.com> (raw)
In-Reply-To: <cover.1315411864.git.sgw@linux.intel.com>
In-Reply-To: <cover.1315411864.git.sgw@linux.intel.com>
When configuring cpan packages, the directories passed to MakeMaker
are the target directories. There was a patch that was applied to the
native perl to find perl.real and convert that to perl. This does not
apply for the target perl modules and therefore MakeMaker finds perl.real.
This patch to cpan configure modifies the Makefile after configure and
changes the perl.real to just straight perl so we have the correct paths
and shared state info in usable.
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
meta/classes/cpan.bbclass | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/meta/classes/cpan.bbclass b/meta/classes/cpan.bbclass
index cb1c2f4..587e688 100644
--- a/meta/classes/cpan.bbclass
+++ b/meta/classes/cpan.bbclass
@@ -24,7 +24,8 @@ cpan_do_configure () {
for f in `find -name Makefile.PL`; do
f2=`echo $f | sed -e 's/.PL//'`
sed -i -e "s:\(PERL_ARCHLIB = \).*:\1${PERL_ARCHLIB}:" \
- $f2
+ -e 's/perl.real/perl/' \
+ $f2
done
fi
}
--
1.7.6
next prev parent reply other threads:[~2011-09-07 16:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-07 16:12 [PULL v2 0/1] fix perl sstate issue Saul Wold
2011-09-07 16:12 ` Saul Wold [this message]
2011-09-07 21:57 ` [PULL v2 1/1] cpan.bbclass: fix native perl issue Richard Purdie
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=68679302c46936d2e2f7b0980ec325c398dd5e73.1315411864.git.sgw@linux.intel.com \
--to=sgw@linux.intel.com \
--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