diff options
authorRichard Purdie <>2013-01-21 10:53:01 (GMT)
committerRichard Purdie <>2013-01-21 19:04:34 (GMT)
commitf2f0a1aa489f9e6e4414fa758d3dd09a950a106c (patch)
parentd1e680916e0b33da80a2fee077784062db1b318e (diff)
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. (From OE-Core rev: 1b66c30eb6085aedce118ce086efbd2e562d0d6c) Signed-off-by: Richard Purdie <>
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/perl/ b/meta/recipes-devtools/perl/
index f924ebd..e875c1f 100644
--- a/meta/recipes-devtools/perl/
+++ b/meta/recipes-devtools/perl/
@@ -168,7 +168,7 @@ do_configure() {
168 ;; 168 ;;
169 esac 169 esac
170 # These are strewn all over the source tree 170 # These are strewn all over the source tree
171 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 171 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
172 echo Fixing: $foo 172 echo Fixing: $foo
173 sed -e 's|\([ "^'\''I]\+\)/usr/include/|\1${STAGING_INCDIR}/|g' -i $foo 173 sed -e 's|\([ "^'\''I]\+\)/usr/include/|\1${STAGING_INCDIR}/|g' -i $foo
174 done 174 done