summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2005-03-09 21:15:17 +0000
committerChris Larson <clarson@kergoth.com>2005-03-09 21:15:17 +0000
commit011fc23b899c7b857a99bc1b6a7a64ec392f945f (patch)
tree1b33c03911fa9857be931a86a8fe1c0cdc9ca97d
parent3c52388dc164fee1d85ca17e648d7e5a1d2d8125 (diff)
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
-rw-r--r--packages/perl/perl.inc3
-rw-r--r--packages/perl/perl_5.8.4.bb3
2 files changed, 5 insertions, 1 deletions
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"