[oe] [PATCH] autoconf_2.65.bb: Fix configure for DISTRO=micro.

Graham Gower graham.gower at gmail.com
Tue Nov 30 05:29:01 UTC 2010


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 at gmail.com>
---
 .../autoconf-2.65/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 0000000..b0ac89c
--- /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 d0bc9d4..a70b698 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"
 
-- 
1.7.1





More information about the Openembedded-devel mailing list