diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2013-03-11 14:47:31 +0800 |
---|---|---|
committer | Ross Burton <ross.burton@intel.com> | 2013-04-23 10:38:45 +0100 |
commit | 4cb190a7527300bcaed34bb6f65329c5d6425966 (patch) | |
tree | c0c2cc81c37aadb29caf6461146b5d3c0e90643f /meta/recipes-devtools/perl/perl_5.14.2.bb | |
parent | ff83f3685ce79712733822cf298d20538757b54d (diff) | |
download | openembedded-core-4cb190a7527300bcaed34bb6f65329c5d6425966.tar.gz openembedded-core-4cb190a7527300bcaed34bb6f65329c5d6425966.tar.bz2 openembedded-core-4cb190a7527300bcaed34bb6f65329c5d6425966.zip |
perl_5.14.2.bb: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.
Cherry-pick commit f2f0a1aa489f9e6e4414fa758d3dd09a950a106c
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Diffstat (limited to 'meta/recipes-devtools/perl/perl_5.14.2.bb')
-rw-r--r-- | 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 1c520553c9..9681f5484a 100644 --- a/meta/recipes-devtools/perl/perl_5.14.2.bb +++ b/meta/recipes-devtools/perl/perl_5.14.2.bb @@ -169,7 +169,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 |