summaryrefslogtreecommitdiff
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:28:34 +0100
commitacfe8c657dd2496ae8669ce69def96a0b04d061c (patch)
treed0fecbe3cc718b85b35b2d3e432ade1b085af125
parent4f401134694bbc1de532aaaab6c9a761649725a1 (diff)
downloadopenembedded-core-acfe8c657dd2496ae8669ce69def96a0b04d061c.tar.gz
openembedded-core-acfe8c657dd2496ae8669ce69def96a0b04d061c.tar.bz2
openembedded-core-acfe8c657dd2496ae8669ce69def96a0b04d061c.zip
cpan.bbclass: fix native perl issue
Signed-off-by: Saul Wold <sgw@linux.intel.com>
-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
}