[oe-commits] Khem Raj : perl: Fix build for linux-uclibcspe targets

git version control git at git.openembedded.org
Tue Jan 18 23:37:21 UTC 2011


Module: openembedded.git
Branch: master
Commit: ccf1f883285e707e6b3887a8107f25530b1ec802
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=ccf1f883285e707e6b3887a8107f25530b1ec802

Author: Khem Raj <raj.khem at gmail.com>
Date:   Tue Jan 18 15:33:10 2011 -0800

perl: Fix build for linux-uclibcspe targets

Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 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 33ddffe..8e6d1d6 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 0deaf39..da40972 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" \





More information about the Openembedded-commits mailing list