diff options
Diffstat (limited to 'meta/recipes-devtools/intltool/intltool-0.50.2/use-nativeperl.patch')
-rw-r--r-- | meta/recipes-devtools/intltool/intltool-0.50.2/use-nativeperl.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-devtools/intltool/intltool-0.50.2/use-nativeperl.patch b/meta/recipes-devtools/intltool/intltool-0.50.2/use-nativeperl.patch new file mode 100644 index 0000000000..5f5fed3853 --- /dev/null +++ b/meta/recipes-devtools/intltool/intltool-0.50.2/use-nativeperl.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | OE has perl binary as 'nativeperl' in native sysroot so we look for it | ||
2 | in order to avoid intltool searching and finding perl from /usr/bin | ||
3 | on build system which may not have all the modules that it needs. | ||
4 | |||
5 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
6 | |||
7 | Upstream-Status: Inappropriate [OE specific] | ||
8 | Index: intltool-0.40.6/intltool.m4 | ||
9 | =================================================================== | ||
10 | --- intltool-0.40.6.orig/intltool.m4 2009-02-14 14:12:28.000000000 -0800 | ||
11 | +++ intltool-0.40.6/intltool.m4 2011-08-09 08:07:16.427347846 -0700 | ||
12 | @@ -110,7 +110,7 @@ | ||
13 | AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) | ||
14 | fi | ||
15 | |||
16 | -AC_PATH_PROG(INTLTOOL_PERL, perl) | ||
17 | +AC_PATH_PROG(INTLTOOL_PERL, nativeperl) | ||
18 | if test -z "$INTLTOOL_PERL"; then | ||
19 | AC_MSG_ERROR([perl not found]) | ||
20 | fi | ||