summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl_5.12.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/perl_5.12.2.bb')
-rw-r--r--meta/recipes-devtools/perl/perl_5.12.2.bb12
1 files changed, 5 insertions, 7 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.12.2.bb b/meta/recipes-devtools/perl/perl_5.12.2.bb
index 9137b401a5..e7e1cb4dd4 100644
--- a/meta/recipes-devtools/perl/perl_5.12.2.bb
+++ b/meta/recipes-devtools/perl/perl_5.12.2.bb
@@ -139,13 +139,11 @@ do_configure() {
139 -e 's,/perl5,/perl,g' \ 139 -e 's,/perl5,/perl,g' \
140 config.sh-${TARGET_ARCH}-${TARGET_OS} 140 config.sh-${TARGET_ARCH}-${TARGET_OS}
141 141
142 if test "${MACHINE}" != "native"; then 142 # These are strewn all over the source tree
143 # These are strewn all over the source tree 143 for foo in `grep -I -m1 \/usr\/include\/.*\\.h ${WORKDIR}/* -r | cut -f 1 -d ":"` ; do
144 for foo in `grep -I -m1 \/usr\/include\/.*\\.h ${WORKDIR}/* -r | cut -f 1 -d ":"` ; do 144 echo Fixing: $foo
145 echo Fixing: $foo 145 sed -e "s%/usr/include/%${STAGING_INCDIR}/%g" -i $foo
146 sed -e "s%/usr/include/%${STAGING_INCDIR}/%g" -i $foo 146 done
147 done
148 fi
149 147
150 rm -f config 148 rm -f config
151 echo "ARCH = ${TARGET_ARCH}" > config 149 echo "ARCH = ${TARGET_ARCH}" > config