aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/perl/perl_5.10.1.bb
diff options
context:
space:
mode:
authorVladimir Sorokin <sorokin@altell.ru>2010-03-05 20:12:21 +0300
committerRoman I Khimov <khimov@altell.ru>2010-04-23 23:01:12 +0400
commit241a98e1771cdf4037b4534be67dcdba01e066d5 (patch)
tree8b7fccb19e5c37cea2f0e11f5113efc39237edb3 /recipes/perl/perl_5.10.1.bb
parent5ef19cb7290901839b2263fc2579327ece73fa09 (diff)
downloadopenembedded-241a98e1771cdf4037b4534be67dcdba01e066d5.tar.gz
openembedded-241a98e1771cdf4037b4534be67dcdba01e066d5.tar.bz2
openembedded-241a98e1771cdf4037b4534be67dcdba01e066d5.zip
perl: undef 'futimes' for uclibc build
Function 'futimes' doesn't exist in uClibc. Signed-off-by: Vladimir Sorokin <sorokin@altell.ru> Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'recipes/perl/perl_5.10.1.bb')
-rw-r--r--recipes/perl/perl_5.10.1.bb3
1 files changed, 2 insertions, 1 deletions
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" \