From 241a98e1771cdf4037b4534be67dcdba01e066d5 Mon Sep 17 00:00:00 2001 From: Vladimir Sorokin Date: Fri, 5 Mar 2010 20:12:21 +0300 Subject: perl: undef 'futimes' for uclibc build Function 'futimes' doesn't exist in uClibc. Signed-off-by: Vladimir Sorokin Signed-off-by: Roman I Khimov --- recipes/perl/perl_5.10.1.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'recipes/perl/perl_5.10.1.bb') diff --git a/recipes/perl/perl_5.10.1.bb b/recipes/perl/perl_5.10.1.bb index 7c8ff2648c..b998afde37 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" \ -- cgit 1.2.3-korg