From a4fb8cb9e3d0de0caa21da16f9644331ccab10c3 Mon Sep 17 00:00:00 2001 From: Jamie Lenehan Date: Fri, 29 Sep 2006 09:05:19 +0000 Subject: perl: Don't try and patch up references to /usr/include in binary files, as per #1439, so that configure doesn't fail if you happen to end up with this string in the perl-native binary. --- packages/perl/perl_5.8.7.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/perl/perl_5.8.7.bb b/packages/perl/perl_5.8.7.bb index 2bc2e16a32..1b69cf0e8b 100644 --- a/packages/perl/perl_5.8.7.bb +++ b/packages/perl/perl_5.8.7.bb @@ -53,7 +53,7 @@ do_configure() { sed -i -e "s%/usr/include/%${STAGING_INCDIR}/%g" config.sh-${TARGET_ARCH}-${TARGET_OS} #These are strewn all over the source tree - for foo in `grep -m1 \/usr\/include\/.*\\.h ${WORKDIR}/* -r | cut -f 1 -d ":"` ; do + for foo in `grep -m1 \/usr\/include\/.*\\.h ${WORKDIR}/* -r | grep -v "^Binary file .* matches$" | cut -f 1 -d ":"` ; do echo Fixing: $foo sed -e "s%/usr/include/%${STAGING_INCDIR}/%g" -i $foo done -- cgit v1.2.3