From 82c21e61d122e3c92fb86831bc1170263310acad Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Tue, 28 Jun 2011 09:19:38 -0700 Subject: cpan.bbclass: Make cpan_do_configure undo the perl.real unwrapping The cpan build system unwrapps our perl -> perl.real shell script and generates Makefile's that call perl.real directly and thus fail to be relocable. So at the end, regex them back to calling perl. Signed-off-by: Tom Rini --- classes/cpan.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/cpan.bbclass b/classes/cpan.bbclass index b522423243..97de5fbfb1 100644 --- a/classes/cpan.bbclass +++ b/classes/cpan.bbclass @@ -20,6 +20,7 @@ cpan_do_configure () { -e "s:\(LDDLFLAGS.*\)${STAGING_LIBDIR_NATIVE}:\1${STAGING_LIBDIR}:" \ Makefile fi + find . -name Makefile | xargs sed -i -e "s:bin/perl.real:bin/perl:g" } cpan_do_compile () { -- cgit 1.2.3-korg