diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2011-02-18 10:13:48 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-21 17:53:51 +0000 |
commit | 489465b82be73da1d845a0cea601b41ce5ade411 (patch) | |
tree | 92bd04d44d3d533e87a53e2461519c23262e79b7 /meta/recipes-devtools/libtool/libtool | |
parent | 3c314b9b2ac4f96a72f651ee5175748d2d0fc9c1 (diff) | |
download | poky-489465b82be73da1d845a0cea601b41ce5ade411.tar.gz |
libtool: avoid absolute pathnames of general utils
addded a new patch:
libtool/avoid_absolute_paths_for_general_utils.patch
This fixes [BUGID #154]
This fixes [BUGID #734]
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Diffstat (limited to 'meta/recipes-devtools/libtool/libtool')
-rw-r--r-- | meta/recipes-devtools/libtool/libtool/avoid_absolute_paths_for_general_utils.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-devtools/libtool/libtool/avoid_absolute_paths_for_general_utils.patch b/meta/recipes-devtools/libtool/libtool/avoid_absolute_paths_for_general_utils.patch new file mode 100644 index 0000000000..f158171ef7 --- /dev/null +++ b/meta/recipes-devtools/libtool/libtool/avoid_absolute_paths_for_general_utils.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | On some distro the path of utils like sed, grep etc are different than the | ||
2 | buildhost system. | ||
3 | This was causing runtime issue while running libtoolize from the | ||
4 | libtool-nativesdk package. | ||
5 | This patch takes out the absolute paths of these utils, and put | ||
6 | responsibility on the end-user to set correct paths for these utilities to be | ||
7 | found out. | ||
8 | |||
9 | Nitin A Kamble <nitin.a.kamble@intel.com> | ||
10 | 2011/02/18 | ||
11 | |||
12 | |||
13 | Index: libtool-2.4/libltdl/config/general.m4sh | ||
14 | =================================================================== | ||
15 | --- libtool-2.4.orig/libltdl/config/general.m4sh 2010-08-31 23:02:45.000000000 -0700 | ||
16 | +++ libtool-2.4/libltdl/config/general.m4sh 2011-02-18 09:59:09.482038240 -0800 | ||
17 | @@ -45,15 +45,15 @@ | ||
18 | M4SH_VERBATIM([[ | ||
19 | : ${CP="cp -f"} | ||
20 | test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'} | ||
21 | -: ${EGREP="@EGREP@"} | ||
22 | -: ${FGREP="@FGREP@"} | ||
23 | -: ${GREP="@GREP@"} | ||
24 | -: ${LN_S="@LN_S@"} | ||
25 | +: ${EGREP="egrep"} | ||
26 | +: ${FGREP="fgrep"} | ||
27 | +: ${GREP="grep"} | ||
28 | +: ${LN_S="ln -s"} | ||
29 | : ${MAKE="make"} | ||
30 | : ${MKDIR="mkdir"} | ||
31 | : ${MV="mv -f"} | ||
32 | : ${RM="rm -f"} | ||
33 | -: ${SED="@SED@"} | ||
34 | +: ${SED="sed"} | ||
35 | : ${SHELL="${CONFIG_SHELL-/bin/sh}"} | ||
36 | : ${Xsed="$SED -e 1s/^X//"} | ||
37 | |||