From: Martin Jansa Date: Fri, 4 Feb 2011 15:00:12 +0000 (+0100) Subject: gnu-config: use /usr/bin/env perl instead of /usr/bin/perl in gnu-configize.in X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be21179c5321bd0afb9221f020ac12ad75c86a3b;p=openembedded.git gnu-config: use /usr/bin/env perl instead of /usr/bin/perl in gnu-configize.in * fixes errors like this | /OE/tmpdir-shr/sysroots/armv4t-oe-linux-gnueabi/usr/share/aclocal/libpcap.m4:40: warning: underquoted definition of AC_LBL_C_INIT_BEFORE_CC | /OE/tmpdir-shr/sysroots/armv4t-oe-linux-gnueabi/usr/share/aclocal/libpcap.m4:40: run info '(automake)Extending aclocal' | /OE/tmpdir-shr/sysroots/armv4t-oe-linux-gnueabi/usr/share/aclocal/libpcap.m4:40: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal | autoreconf: running: /OE/tmpdir-shr/sysroots/x86_64-linux/usr/bin/autoconf --include=/OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/efreet-2_1.0.999+svnr56704-r0.0/efreet/m4/ --include=/OE/tmpdir-shr/sysroots/armv4t-oe-linux-gnueabi/usr/share/aclocal-1.11 --include=/OE/tmpdir-shr/sysroots/armv4t-oe-linux-gnueabi/usr/share/aclocal --force --warnings=cross | autoreconf: running: /OE/tmpdir-shr/sysroots/x86_64-linux/usr/bin/autoheader --include=/OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/efreet-2_1.0.999+svnr56704-r0.0/efreet/m4/ --include=/OE/tmpdir-shr/sysroots/armv4t-oe-linux-gnueabi/usr/share/aclocal-1.11 --include=/OE/tmpdir-shr/sysroots/armv4t-oe-linux-gnueabi/usr/share/aclocal --force --warnings=cross | autoreconf: running: automake --foreign --add-missing --copy --force-missing --warnings=cross | automake: unknown warning category cross | autoreconf: running: gnu-configize | /usr/bin/perl: symbol lookup error: /OE/tmpdir-shr/sysroots/x86_64-linux/usr/lib/perl/5.10.1/auto/IO/IO.so: undefined symbol: Perl_Istack_sp_ptr | autoreconf: gnu-configize failed with exit status: 127 * or like this: | Perl lib version (5.10.1) doesn't match executable version (v5.12.3) at /OE/tmpdir-shr/sysroots/x86_64-linux/usr/lib/perl/5.10.1/Config.pm line 50." Signed-off-by: Martin Jansa --- diff --git a/recipes/gnu-config/files/gnu-configize.in b/recipes/gnu-config/files/gnu-configize.in index be8580c8e6..d4908fc4f9 100755 --- a/recipes/gnu-config/files/gnu-configize.in +++ b/recipes/gnu-config/files/gnu-configize.in @@ -1,4 +1,4 @@ -#! /usr/bin/perl -w +#! /usr/bin/env perl # -*- perl -*- eval 'case $# in 0) exec /usr/bin/perl -S "$0";; *) exec /usr/bin/perl -S "$0" "$@";; esac' diff --git a/recipes/gnu-config/gnu-config_git.bb b/recipes/gnu-config/gnu-config_git.bb index 6c8983d449..ad901b16a3 100644 --- a/recipes/gnu-config/gnu-config_git.bb +++ b/recipes/gnu-config/gnu-config_git.bb @@ -4,7 +4,7 @@ LICENSE = "GPL" DEPENDS = "" INHIBIT_DEFAULT_DEPS = "1" -PR = "r0" +PR = "r1" FAKESRCREV="e35217687ee5f39b428119fe31c7e954f6de64f0" PR_append = "+gitr${FAKESRCREV}"