diff options
author | Florin Sarbu <florin.sarbu@windriver.com> | 2012-04-20 10:52:08 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-27 14:07:22 +0100 |
commit | c17d1f146e43a4acaad5de629c33404426870356 (patch) | |
tree | 59c5d4e638b6dfe50454ce9108c07c6b064703d3 /meta/recipes-devtools/intltool/intltool-0.50.0/noperlcheck.patch | |
parent | 06b5d57e89f2dd20fb3f4cb9fd362e2d428f493d (diff) | |
download | openembedded-core-contrib-c17d1f146e43a4acaad5de629c33404426870356.tar.gz |
Update intltool to version 0.50.0
Uprev intltool to newer 0.50.0 version
Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/intltool/intltool-0.50.0/noperlcheck.patch')
-rw-r--r-- | meta/recipes-devtools/intltool/intltool-0.50.0/noperlcheck.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta/recipes-devtools/intltool/intltool-0.50.0/noperlcheck.patch b/meta/recipes-devtools/intltool/intltool-0.50.0/noperlcheck.patch new file mode 100644 index 0000000000..cc26749c48 --- /dev/null +++ b/meta/recipes-devtools/intltool/intltool-0.50.0/noperlcheck.patch @@ -0,0 +1,40 @@ +In the target case, we can't check if perl exists or try running it. If we +don't patch the code, the native perl location would be used, not the target +which is also incorrect. We therefore disable this code and rely on the +correct value of PERL being passed in. + +RP 31/8/2011 + +Upstream-Status: Inappropriate [OE specific] + +Index: intltool-0.40.6/configure.ac +=================================================================== +--- intltool-0.40.6.orig/configure.ac 2011-08-31 11:21:13.061160535 +0100 ++++ intltool-0.40.6/configure.ac 2011-08-31 11:22:44.991160885 +0100 +@@ -11,24 +11,10 @@ + aclocaldir='${datadir}'/aclocal + AC_SUBST(aclocaldir) + +-AC_PATH_PROG(PERL, perl) + if test -z "$PERL"; then +- AC_MSG_ERROR([perl not found]) +-fi +-AC_MSG_CHECKING([for perl >= 5.8.1]) +-$PERL -e "use 5.8.1;" > /dev/null 2>&1 +-if test $? -ne 0; then +- AC_MSG_ERROR([perl 5.8.1 is required for intltool]) +-else +- PERL_VERSION="`$PERL -e \"printf '%vd', $^V\"`" +- AC_MSG_RESULT([$PERL_VERSION]) +-fi +-AC_MSG_CHECKING([for XML::Parser]) +-if `$PERL -e "require XML::Parser" 2>/dev/null`; then +- AC_MSG_RESULT([ok]) +-else +- AC_MSG_ERROR([XML::Parser perl module is required for intltool]) ++ AC_MSG_ERROR([PERL variable not set]) + fi ++AC_SUBST(PERL) + + AC_OUTPUT([ + Makefile |