From 74dc138a5da97b4021e0d5b3cd4632bec7ed16f2 Mon Sep 17 00:00:00 2001 From: Roman I Khimov Date: Thu, 25 Nov 2010 14:22:11 +0300 Subject: perl: fix some arch-specific config.sh variables * d_nv_preserves_uv, d_u32align, longlongsize: arch-specific, doesn't belong to generic config.sh * d_printf_format_null: missed definition for 32-bit archs * gidformat: wrong definition for 32-bit archs * uquadtype: defined twice, clean up * sGMTIME_max, sGMTIME_min, sLOCALTIME_max, sLOCALTIME_min: missed definition for 64-bit archs * d_u32align should be defined for ARM, although it's 32-bit arch Signed-off-by: Roman I Khimov Acked-by: Khem Raj --- recipes/perl/perl_5.10.1.bb | 6 +++++- 1 file changed, 5 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 a58b8ec626..d8c374bb34 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 = "r17" +PR = "r18" # 5.10.1 has Module::Build built-in PROVIDES += "libmodule-build-perl" @@ -154,6 +154,10 @@ do_configure() { sed -i -e "s,\(need_va_copy=\)'undef',\1'define',g" \ config.sh-${TARGET_ARCH}-${TARGET_OS} ;; + arm) + sed -i -e "s,\(d_u32align=\)'undef',\1'define',g" \ + config.sh-${TARGET_ARCH}-${TARGET_OS} + ;; esac if test "${MACHINE}" != "native"; then -- cgit 1.2.3-korg