[oe-commits] Vladimir Sorokin : perl: undef 'futimes' for uclibc build
git version control
git at git.openembedded.org
Fri Apr 23 19:01:29 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 241a98e1771cdf4037b4534be67dcdba01e066d5
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=241a98e1771cdf4037b4534be67dcdba01e066d5
Author: Vladimir Sorokin <sorokin at altell.ru>
Date: Fri Mar 5 20:12:21 2010 +0300
perl: undef 'futimes' for uclibc build
Function 'futimes' doesn't exist in uClibc.
Signed-off-by: Vladimir Sorokin <sorokin at altell.ru>
Signed-off-by: Roman I Khimov <khimov at altell.ru>
---
recipes/perl/perl_5.10.1.bb | 3 ++-
recipes/perl/perl_5.8.8.bb | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/recipes/perl/perl_5.10.1.bb b/recipes/perl/perl_5.10.1.bb
index 7c8ff26..b998afd 100644
--- a/recipes/perl/perl_5.10.1.bb
+++ b/recipes/perl/perl_5.10.1.bb
@@ -5,7 +5,7 @@ LICENSE = "Artistic|GPL"
PRIORITY = "optional"
# We need gnugrep (for -I)
DEPENDS = "virtual/db perl-native grep-native"
-PR = "r1"
+PR = "r2"
# Not tested enough
DEFAULT_PREFERENCE = "-1"
@@ -65,6 +65,7 @@ do_configure() {
# Fixups for uclibc
if [ "${TARGET_OS}" = "linux-uclibc" -o "${TARGET_OS}" = "linux-uclibceabi" ]; 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" \
-e "s,\(d_getnetbyname_r=\)'define',\1'undef',g" \
-e "s,\(getnetbyname_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 2019ea6..3dae957 100644
--- a/recipes/perl/perl_5.8.8.bb
+++ b/recipes/perl/perl_5.8.8.bb
@@ -5,7 +5,7 @@ LICENSE = "Artistic|GPL"
PRIORITY = "optional"
# We need gnugrep (for -I)
DEPENDS = "virtual/db perl-native grep-native"
-PR = "r31"
+PR = "r32"
# Major part of version
PVM = "5.8"
@@ -70,6 +70,7 @@ do_configure() {
# Fixups for uclibc
if [ "${TARGET_OS}" = "linux-uclibc" -o "${TARGET_OS}" = "linux-uclibceabi" ]; 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" \
-e "s,\(d_getnetbyname_r=\)'define',\1'undef',g" \
-e "s,\(getnetbyname_r_proto=\)'\w+',\1'0',g" \
More information about the Openembedded-commits
mailing list