summaryrefslogtreecommitdiffstats
path: root/meta/classes/cpan.bbclass
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-09-06 17:06:58 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-07 22:54:16 +0100
commit4669760ac14bd28c5cfa554b8d5a9d82a26e0f52 (patch)
treeffcf17038f67df7cbf9e7b97f11e4c6538b66a10 /meta/classes/cpan.bbclass
parent939b9c80a65976737c044cd5be5503ecca523f97 (diff)
downloadpoky-4669760ac14bd28c5cfa554b8d5a9d82a26e0f52.tar.gz
poky-4669760ac14bd28c5cfa554b8d5a9d82a26e0f52.tar.bz2
poky-4669760ac14bd28c5cfa554b8d5a9d82a26e0f52.zip
cpan.bbclass: fix native perl issue
(From OE-Core rev: acfe8c657dd2496ae8669ce69def96a0b04d061c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/cpan.bbclass')
-rw-r--r--meta/classes/cpan.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/cpan.bbclass b/meta/classes/cpan.bbclass
index cb1c2f40c7..587e688bc2 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
}