[oe-commits] Tom Rini : cpan.bbclass: Make cpan_do_configure undo the perl. real unwrapping
git version control
git at git.openembedded.org
Tue Jun 28 16:30:01 UTC 2011
Module: openembedded.git
Branch: master
Commit: 82c21e61d122e3c92fb86831bc1170263310acad
URL: http://git.openembedded.org/?p=openembedded.git&a=commit;h=82c21e61d122e3c92fb86831bc1170263310acad
Author: Tom Rini <tom_rini at mentor.com>
Date: Tue Jun 28 09:19:38 2011 -0700
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 <tom_rini at mentor.com>
---
classes/cpan.bbclass | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/classes/cpan.bbclass b/classes/cpan.bbclass
index b522423..97de5fb 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 () {
More information about the Openembedded-commits
mailing list