xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/libtool/libtool/nohardcodepaths.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1If for example you build on a machine with /bin/grep, then restore that sstate
2onto a machine with /usr/bin/grep, things will fail. Simply don't bother
3hardcoding paths.
4
5RP 2015/2/3
6
7Upstream-Status: Inappropriate
8
9Index: libtool-2.4.5/libtoolize.in
10===================================================================
11--- libtool-2.4.5.orig/libtoolize.in
12+++ libtool-2.4.5/libtoolize.in
13@@ -40,11 +40,11 @@
14
15 : ${AUTOCONF="autoconf"}
16 : ${AUTOMAKE="automake"}
17-: ${EGREP="@EGREP@"}
18-: ${FGREP="@FGREP@"}
19-: ${GREP="@GREP@"}
20-: ${LN_S="@LN_S@"}
21-: ${SED="@SED@"}
22+: ${EGREP="egrep"}
23+: ${FGREP="fgrep"}
24+: ${GREP="grep"}
25+: ${LN_S="ln -s"}
26+: ${SED="sed"}
27
28
29 ## -------------------------- ##
30