autoconf_2.65.bb: Fix build for DISTRO=micro.
authorGraham Gower <graham.gower@gmail.com>
Tue, 30 Nov 2010 05:26:23 +0000 (15:56 +1030)
committerGraham Gower <graham.gower@gmail.com>
Mon, 13 Dec 2010 01:54:15 +0000 (12:24 +1030)
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 <graham.gower@gmail.com>
Acked-by: Chris Larson <chris_larson@mentor.com>
recipes/autoconf/autoconf-2.65/autoconf-dont-execute-perl.patch [new file with mode: 0644]
recipes/autoconf/autoconf_2.65.bb

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 (file)
index 0000000..b0ac89c
--- /dev/null
@@ -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
index d0bc9d4..a70b698 100644 (file)
@@ -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"