summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/libtool/libtool/avoid_absolute_paths_for_general_utils.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/libtool/libtool/avoid_absolute_paths_for_general_utils.patch')
-rw-r--r--meta/recipes-devtools/libtool/libtool/avoid_absolute_paths_for_general_utils.patch39
1 files changed, 39 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..3c751ed0e2
--- /dev/null
+++ b/meta/recipes-devtools/libtool/libtool/avoid_absolute_paths_for_general_utils.patch
@@ -0,0 +1,39 @@
1Upstream-Status: Pending
2
3On some distro the path of utils like sed, grep etc are different than the
4buildhost system.
5 This was causing runtime issue while running libtoolize from the
6libtool-nativesdk package.
7 This patch takes out the absolute paths of these utils, and put
8responsibility on the end-user to set correct paths for these utilities to be
9found out.
10
11Nitin A Kamble <nitin.a.kamble@intel.com>
122011/02/18
13
14
15Index: libtool-2.4.2/libltdl/config/general.m4sh
16===================================================================
17--- libtool-2.4.2.orig/libltdl/config/general.m4sh
18+++ libtool-2.4.2/libltdl/config/general.m4sh
19@@ -45,15 +45,15 @@ progpath="$0"
20 M4SH_VERBATIM([[
21 : ${CP="cp -f"}
22 test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'}
23-: ${EGREP="@EGREP@"}
24-: ${FGREP="@FGREP@"}
25-: ${GREP="@GREP@"}
26-: ${LN_S="@LN_S@"}
27+: ${EGREP="egrep"}
28+: ${FGREP="fgrep"}
29+: ${GREP="grep"}
30+: ${LN_S="ln -s"}
31 : ${MAKE="make"}
32 : ${MKDIR="mkdir"}
33 : ${MV="mv -f"}
34 : ${RM="rm -f"}
35-: ${SED="@SED@"}
36+: ${SED="sed"}
37 : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
38 : ${Xsed="$SED -e 1s/^X//"}
39