From: Graham Gower <graham.gower@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH] autoconf_2.65.bb: Fix configure for DISTRO=micro.
Date: Tue, 30 Nov 2010 15:59:01 +1030 [thread overview]
Message-ID: <4CF48B9D.9050907@gmail.com> (raw)
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>
---
.../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
next reply other threads:[~2010-11-30 5:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-30 5:29 Graham Gower [this message]
2010-11-30 18:16 ` [PATCH] autoconf_2.65.bb: Fix configure for DISTRO=micro Chris Larson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CF48B9D.9050907@gmail.com \
--to=graham.gower@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.