From 011fc23b899c7b857a99bc1b6a7a64ec392f945f Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Wed, 9 Mar 2005 21:15:17 +0000 Subject: perl: Mangle one of the test results in the config.sh's when creating the uclibc versions, to ensure it doesn't believe uclibc supports something it doesnt. BKrev: 422f6765QMKD4YhjXIim0CJVf7y-zg --- packages/perl/perl.inc | 3 ++- packages/perl/perl_5.8.4.bb | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/perl/perl.inc b/packages/perl/perl.inc index 59e7ee2a5e..69cbdd4fbb 100644 --- a/packages/perl/perl.inc +++ b/packages/perl/perl.inc @@ -28,7 +28,8 @@ do_configure() { for i in config.sh-*-linux; do a="`echo $i|sed -e 's,^config.sh-,,; s,-linux$,,'`" newfile="`echo $i|sed -e 's,-linux$,-linux-uclibc,g'`" - cat $i | sed -e "s,${a}-linux,${a}-linux-uclibc,g" > $newfile + cat $i | sed -e "s,${a}-linux,${a}-linux-uclibc,g; \ + s,d_sockatmark='define',d_sockatmark='undef',g;" > $newfile done sed -i -e 's,./install_me_here,${D},g' config.sh-${TARGET_ARCH}-${TARGET_OS} rm -f config diff --git a/packages/perl/perl_5.8.4.bb b/packages/perl/perl_5.8.4.bb index e69de29bb2..717872c0a8 100644 --- a/packages/perl/perl_5.8.4.bb +++ b/packages/perl/perl_5.8.4.bb @@ -0,0 +1,3 @@ +include perl.inc + +PR = "r1" -- cgit v1.2.3