From acfe8c657dd2496ae8669ce69def96a0b04d061c Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Tue, 6 Sep 2011 17:06:58 -0700 Subject: cpan.bbclass: fix native perl issue Signed-off-by: Saul Wold --- meta/classes/cpan.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta') diff --git a/meta/classes/cpan.bbclass b/meta/classes/cpan.bbclass index cb1c2f40c..587e688bc 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 } -- cgit v1.2.3