From ccf1f883285e707e6b3887a8107f25530b1ec802 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 18 Jan 2011 15:33:10 -0800 Subject: [PATCH] perl: Fix build for linux-uclibcspe targets Signed-off-by: Khem Raj --- recipes/perl/perl_5.10.1.bb | 4 ++-- recipes/perl/perl_5.8.8.bb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes/perl/perl_5.10.1.bb b/recipes/perl/perl_5.10.1.bb index 33ddffef78..8e6d1d6da7 100644 --- a/recipes/perl/perl_5.10.1.bb +++ b/recipes/perl/perl_5.10.1.bb @@ -5,7 +5,7 @@ LICENSE = "Artistic|GPLv1+" PRIORITY = "optional" # We need gnugrep (for -I) DEPENDS = "virtual/db perl-native grep-native" -PR = "r20" +PR = "r21" # 5.10.1 has Module::Build built-in PROVIDES += "libmodule-build-perl" @@ -125,7 +125,7 @@ do_configure() { done # Fixups for uclibc - if [ "${TARGET_OS}" = "linux-uclibc" -o "${TARGET_OS}" = "linux-uclibceabi" ]; then + if [ "${TARGET_OS}" = "linux-uclibc" -o "${TARGET_OS}" = "linux-uclibceabi" -o "${TARGET_OS}" = "linux-uclibcspe" ]; then sed -i -e "s,\(d_crypt_r=\)'define',\1'undef',g" \ -e "s,\(d_futimes=\)'define',\1'undef',g" \ -e "s,\(crypt_r_proto=\)'\w+',\1'0',g" \ diff --git a/recipes/perl/perl_5.8.8.bb b/recipes/perl/perl_5.8.8.bb index 0deaf39038..da40972c93 100644 --- a/recipes/perl/perl_5.8.8.bb +++ b/recipes/perl/perl_5.8.8.bb @@ -5,7 +5,7 @@ LICENSE = "Artistic|GPLv1+" PRIORITY = "optional" # We need gnugrep (for -I) DEPENDS = "virtual/db perl-native grep-native" -PR = "r38" +PR = "r39" # Major part of version PVM = "5.8" @@ -79,7 +79,7 @@ do_configure() { done # Fixups for uclibc - if [ "${TARGET_OS}" = "linux-uclibc" -o "${TARGET_OS}" = "linux-uclibceabi" ]; then + if [ "${TARGET_OS}" = "linux-uclibc" -o "${TARGET_OS}" = "linux-uclibceabi" -o "${TARGET_OS}" = "linux-uclibcspe" ]; then sed -i -e "s,\(d_crypt_r=\)'define',\1'undef',g" \ -e "s,\(d_futimes=\)'define',\1'undef',g" \ -e "s,\(crypt_r_proto=\)'\w+',\1'0',g" \ -- 2.39.5