From: Richard Purdie Date: Wed, 26 Jan 2011 10:02:31 +0000 (+0000) Subject: perl: Remove MACHINE reference in do_configure, it causes perl to be rebuild many... X-Git-Tag: 2011-1~2692 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=d332f1881f362cef88f2b9f40186482ac612c2d0;p=openembedded-core.git perl: Remove MACHINE reference in do_configure, it causes perl to be rebuild many times Signed-off-by: Richard Purdie --- 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() { -e 's,/perl5,/perl,g' \ config.sh-${TARGET_ARCH}-${TARGET_OS} - if test "${MACHINE}" != "native"; then - # These are strewn all over the source tree - for foo in `grep -I -m1 \/usr\/include\/.*\\.h ${WORKDIR}/* -r | cut -f 1 -d ":"` ; do - echo Fixing: $foo - sed -e "s%/usr/include/%${STAGING_INCDIR}/%g" -i $foo - done - fi + # These are strewn all over the source tree + for foo in `grep -I -m1 \/usr\/include\/.*\\.h ${WORKDIR}/* -r | cut -f 1 -d ":"` ; do + echo Fixing: $foo + sed -e "s%/usr/include/%${STAGING_INCDIR}/%g" -i $foo + done rm -f config echo "ARCH = ${TARGET_ARCH}" > config