From 61c8f6dca9422edcb477c81bbcfd1a3b1490eb59 Mon Sep 17 00:00:00 2001 From: Graham Gower Date: Tue, 30 Nov 2010 15:56:23 +1030 Subject: [PATCH] autoconf_2.65.bb: Fix build for DISTRO=micro. Update autoconf-dont-execute-perl.patch for autoconf-2.65. See aa0d1e870c41d3375866c8180c720cd0fc27ffcd. checking for perl... (cached) /bin/perl /mnt/oe/tmp/work/mipsel-oe-linux-uclibc/autoconf-2.65-r10.0/autoconf-2.65/configure: line 2507: /bin/perl: No such file or directory configure: error: Perl 5.005_03 or better is required Signed-off-by: Graham Gower Acked-by: Chris Larson --- .../autoconf-dont-execute-perl.patch | 26 +++++++++++++++++++ recipes/autoconf/autoconf_2.65.bb | 6 +++-- 2 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 recipes/autoconf/autoconf-2.65/autoconf-dont-execute-perl.patch diff --git a/recipes/autoconf/autoconf-2.65/autoconf-dont-execute-perl.patch b/recipes/autoconf/autoconf-2.65/autoconf-dont-execute-perl.patch new file mode 100644 index 0000000000..b0ac89c3a8 --- /dev/null +++ b/recipes/autoconf/autoconf-2.65/autoconf-dont-execute-perl.patch @@ -0,0 +1,26 @@ +diff -ur autoconf-2.65.orig/configure autoconf-2.65/configure +--- autoconf-2.65.orig/configure 2009-11-22 00:29:10.000000000 +1030 ++++ autoconf-2.65/configure 2010-11-30 15:53:46.000000000 +1030 +@@ -2504,9 +2504,6 @@ + if test "$PERL" = no; then + as_fn_error "perl is not found" "$LINENO" 5 + fi +-$PERL -e 'require 5.005_03;' || { +- as_fn_error "Perl 5.005_03 or better is required" "$LINENO" 5 +-} + + # Find out whether the system supports flock + # Note this test does not try to find out whether it works with this +diff -ur autoconf-2.65.orig/configure.ac autoconf-2.65/configure.ac +--- autoconf-2.65.orig/configure.ac 2009-10-29 12:23:41.000000000 +1030 ++++ autoconf-2.65/configure.ac 2010-11-30 15:53:04.000000000 +1030 +@@ -133,9 +133,6 @@ + if test "$PERL" = no; then + AC_MSG_ERROR([perl is not found]) + fi +-$PERL -e 'require 5.005_03;' || { +- AC_MSG_ERROR([Perl 5.005_03 or better is required]) +-} + + # Find out whether the system supports flock + # Note this test does not try to find out whether it works with this diff --git a/recipes/autoconf/autoconf_2.65.bb b/recipes/autoconf/autoconf_2.65.bb index d0bc9d4375..a70b698f5c 100644 --- a/recipes/autoconf/autoconf_2.65.bb +++ b/recipes/autoconf/autoconf_2.65.bb @@ -1,12 +1,14 @@ require autoconf.inc -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" SRC_URI += "file://autoreconf-exclude.patch \ file://autoreconf-foreign.patch \ file://autoheader-nonfatal-warnings.patch \ file://autoreconf-gnuconfigize.patch \ - file://config-site.patch" + file://config-site.patch \ + file://autoconf-dont-execute-perl.patch \ + " SRC_URI_append_virtclass-native = " file://fix_path_xtra.patch" -- 2.39.5