Files
poky/meta/recipes-devtools/intltool/intltool-0.40.6/use-nativeperl.patch
Khem Raj 171efb209d intltool: Use nativeperl binary for PERL instead of 'perl'
License is GPLv2 change it.
Defining PERL for native intltool is not needed anymore

(From OE-Core rev: d4b4ecb33c727ed54ab52de79e69cd3f0d14fb35)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-15 15:26:19 +01:00

21 lines
789 B
Diff

OE has perl binary as 'nativeperl' in native sysroot so we look for it
in order to avoid intltool searching and finding perl from /usr/bin
on build system which may not have all the modules that it needs.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upstream-Status: Inappropriate [OE specific]
Index: intltool-0.40.6/intltool.m4
===================================================================
--- intltool-0.40.6.orig/intltool.m4 2009-02-14 14:12:28.000000000 -0800
+++ intltool-0.40.6/intltool.m4 2011-08-09 08:07:16.427347846 -0700
@@ -110,7 +110,7 @@
AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
fi
-AC_PATH_PROG(INTLTOOL_PERL, perl)
+AC_PATH_PROG(INTLTOOL_PERL, nativeperl)
if test -z "$INTLTOOL_PERL"; then
AC_MSG_ERROR([perl not found])
fi