summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/libtool/libtool/avoid_absolute_paths_for_general_utils.patch
blob: 3c751ed0e267322f58938bd7d6e65e12020ea2d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Upstream-Status: Pending

On some distro the path of utils like sed, grep etc are different than the
buildhost system.
 This was causing runtime issue while running libtoolize from the 
libtool-nativesdk package.
  This patch takes out the absolute paths of these utils, and put 
responsibility on the end-user to set correct paths for these utilities to be 
found out.

Nitin A Kamble <nitin.a.kamble@intel.com>
2011/02/18


Index: libtool-2.4.2/libltdl/config/general.m4sh
===================================================================
--- libtool-2.4.2.orig/libltdl/config/general.m4sh
+++ libtool-2.4.2/libltdl/config/general.m4sh
@@ -45,15 +45,15 @@ progpath="$0"
 M4SH_VERBATIM([[
 : ${CP="cp -f"}
 test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'}
-: ${EGREP="@EGREP@"}
-: ${FGREP="@FGREP@"}
-: ${GREP="@GREP@"}
-: ${LN_S="@LN_S@"}
+: ${EGREP="egrep"}
+: ${FGREP="fgrep"}
+: ${GREP="grep"}
+: ${LN_S="ln -s"}
 : ${MAKE="make"}
 : ${MKDIR="mkdir"}
 : ${MV="mv -f"}
 : ${RM="rm -f"}
-: ${SED="@SED@"}
+: ${SED="sed"}
 : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
 : ${Xsed="$SED -e 1s/^X//"}
 
OpenPOWER on IntegriCloud