summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorOoi Cinly <cinly.ooi@intel.com>2017-08-16 09:18:26 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-18 23:46:38 +0100
commit20aa482ec6949fd3245c97731be2332b323e0f0e (patch)
tree2b9e4d731dea80c58d20ec5b1124536ef5989be1 /meta
parenta3c1bbc88dbc16897077bef80029fdf0231b4443 (diff)
downloadpoky-20aa482ec6949fd3245c97731be2332b323e0f0e.tar.gz
perl: Don't change /usr/include references in docs to sysroot paths
do_configure() will no longer convert references to /usr/include into /path/to/recipes-sysroot/usr/include for the file "Porting/Glossary". [YOCTO #11243] (From OE-Core rev: cb2dfe5627df2ff235b37622260484841f39af17) Signed-off-by: Ooi Cinly <cinly.ooi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/perl/perl_5.24.1.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.24.1.bb b/meta/recipes-devtools/perl/perl_5.24.1.bb
index 95d9694005..1e1d4f50fc 100644
--- a/meta/recipes-devtools/perl/perl_5.24.1.bb
+++ b/meta/recipes-devtools/perl/perl_5.24.1.bb
@@ -171,7 +171,7 @@ do_configure() {
171 ;; 171 ;;
172 esac 172 esac
173 # These are strewn all over the source tree 173 # These are strewn all over the source tree
174 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 174 for foo in `grep -I --exclude="*.patch" --exclude="*.diff" --exclude="*.pod" --exclude="README*" --exclude="Glossary" -m1 "/usr/include/.*\.h" ${S}/* -r -l` ${S}/utils/h2xs.PL ; do
175 echo Fixing: $foo 175 echo Fixing: $foo
176 sed -e 's|\([ "^'\''I]\+\)/usr/include/|\1${STAGING_INCDIR}/|g' -i $foo 176 sed -e 's|\([ "^'\''I]\+\)/usr/include/|\1${STAGING_INCDIR}/|g' -i $foo
177 done 177 done