[oe-commits] org.oe.dev perl: Don't try and patch up references to /usr/include in binary files, as

lenehan commit openembedded-commits at lists.openembedded.org
Fri Sep 29 09:11:33 UTC 2006


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.

Author: lenehan at openembedded.org
Branch: org.openembedded.dev
Revision: de4a9ac2f220bdc6c4e7d015feb7d54b59f4cf40
ViewMTN: http://monotone.openembedded.org/revision.psp?id=de4a9ac2f220bdc6c4e7d015feb7d54b59f4cf40
Files:
1
packages/perl/perl_5.8.7.bb
Diffs:

#
# mt diff -r97115e9b81086faf8f52b3ba9c1cbbf13fac701c -rde4a9ac2f220bdc6c4e7d015feb7d54b59f4cf40
#
# 
# 
# patch "packages/perl/perl_5.8.7.bb"
#  from [589f36c695ccc60a38ae93cf29d199d419103ee3]
#    to [d7a69bb2601bee875a87e89a38742bbadcda9265]
# 
============================================================
--- packages/perl/perl_5.8.7.bb	589f36c695ccc60a38ae93cf29d199d419103ee3
+++ packages/perl/perl_5.8.7.bb	d7a69bb2601bee875a87e89a38742bbadcda9265
@@ -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






More information about the Openembedded-commits mailing list