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>
This commit is contained in:
Saul Wold 2011-09-06 17:06:58 -07:00 committed by Richard Purdie
parent 939b9c80a6
commit 4669760ac1
1 changed files with 2 additions and 1 deletions

View File

@ -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
}