[oe-commits] Richard Purdie : perl: Fix errors if configure is reattempted
git at git.openembedded.org
git at git.openembedded.org
Mon Jan 21 19:05:42 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: 1b66c30eb6085aedce118ce086efbd2e562d0d6c
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=1b66c30eb6085aedce118ce086efbd2e562d0d6c
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Mon Jan 21 10:53:01 2013 +0000
perl: Fix errors if configure is reattempted
If configure of perl is reattempted it currently fails as it tries to edit
files outside ${S}. Chaging from ${WORKDIR} to ${S} avoids this issue
and allows rebuilds to work.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-devtools/perl/perl_5.14.2.bb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-devtools/perl/perl_5.14.2.bb b/meta/recipes-devtools/perl/perl_5.14.2.bb
index f924ebd..e875c1f 100644
--- a/meta/recipes-devtools/perl/perl_5.14.2.bb
+++ b/meta/recipes-devtools/perl/perl_5.14.2.bb
@@ -168,7 +168,7 @@ do_configure() {
;;
esac
# These are strewn all over the source tree
- for foo in `grep -I --exclude="*.patch" --exclude="*.diff" --exclude="*.pod" --exclude="README*" -m1 "/usr/include/.*\.h" ${WORKDIR}/* -r -l` ${S}/utils/h2xs.PL ; do
+ for foo in `grep -I --exclude="*.patch" --exclude="*.diff" --exclude="*.pod" --exclude="README*" -m1 "/usr/include/.*\.h" ${S}/* -r -l` ${S}/utils/h2xs.PL ; do
echo Fixing: $foo
sed -e 's|\([ "^'\''I]\+\)/usr/include/|\1${STAGING_INCDIR}/|g' -i $foo
done
More information about the Openembedded-commits
mailing list