diff options
Diffstat (limited to 'meta/recipes-devtools/tcltk/tcl/fix_non_native_build_issue.patch')
-rw-r--r-- | meta/recipes-devtools/tcltk/tcl/fix_non_native_build_issue.patch | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/meta/recipes-devtools/tcltk/tcl/fix_non_native_build_issue.patch b/meta/recipes-devtools/tcltk/tcl/fix_non_native_build_issue.patch new file mode 100644 index 0000000000..b2d98c131c --- /dev/null +++ b/meta/recipes-devtools/tcltk/tcl/fix_non_native_build_issue.patch | |||
@@ -0,0 +1,63 @@ | |||
1 | Index: unix/Makefile.in | ||
2 | =================================================================== | ||
3 | --- unix.orig/Makefile.in | ||
4 | +++ unix/Makefile.in | ||
5 | @@ -622,20 +622,20 @@ ro-test: tcltest | ||
6 | shell: tclsh | ||
7 | @LD_LIBRARY_PATH_VAR@="`pwd`:$${@LD_LIBRARY_PATH_VAR@}"; export @LD_LIBRARY_PATH_VAR@; \ | ||
8 | TCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}"; export TCL_LIBRARY; \ | ||
9 | - ./tclsh $(SCRIPT) | ||
10 | + tclsh $(SCRIPT) | ||
11 | |||
12 | # This target can be used to run tclsh inside either gdb or insight | ||
13 | gdb: tclsh | ||
14 | @echo "set env @LD_LIBRARY_PATH_VAR@=\"`pwd`:$${@LD_LIBRARY_PATH_VAR@}\"" > gdb.run | ||
15 | @echo "set env TCL_LIBRARY=${TCL_BUILDTIME_LIBRARY}" >> gdb.run | ||
16 | - $(GDB) ./tclsh --command=gdb.run | ||
17 | + $(GDB) tclsh --command=gdb.run | ||
18 | rm gdb.run | ||
19 | |||
20 | # This target can be used to run tclsh inside ddd | ||
21 | ddd: tclsh | ||
22 | @echo "set env @LD_LIBRARY_PATH_VAR@=\"`pwd`:$${@LD_LIBRARY_PATH_VAR@}\"" > gdb.run | ||
23 | @echo "set env TCL_LIBRARY=${TCL_BUILDTIME_LIBRARY}" >> gdb.run | ||
24 | - $(DDD) -command=gdb.run ./tclsh | ||
25 | + $(DDD) -command=gdb.run tclsh | ||
26 | rm gdb.run | ||
27 | |||
28 | VALGRINDARGS=--tool=memcheck --num-callers=8 --leak-resolution=high --leak-check=yes --show-reachable=yes -v | ||
29 | @@ -648,7 +648,7 @@ valgrind: tclsh tcltest | ||
30 | valgrindshell: tclsh | ||
31 | @LD_LIBRARY_PATH_VAR@="`pwd`:$${@LD_LIBRARY_PATH_VAR@}"; export @LD_LIBRARY_PATH_VAR@; \ | ||
32 | TCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}"; export TCL_LIBRARY; \ | ||
33 | - valgrind $(VALGRINDARGS) ./tclsh $(SCRIPT) | ||
34 | + valgrind $(VALGRINDARGS) tclsh $(SCRIPT) | ||
35 | |||
36 | # The following target outputs the name of the top-level source directory for | ||
37 | # Tcl (it is used by Tk's configure script, for example). The .NO_PARALLEL | ||
38 | @@ -817,14 +817,14 @@ install-tzdata: tclsh | ||
39 | @echo "Installing time zone data" | ||
40 | @@LD_LIBRARY_PATH_VAR@="`pwd`:$${@LD_LIBRARY_PATH_VAR@}"; export @LD_LIBRARY_PATH_VAR@; \ | ||
41 | TCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}"; export TCL_LIBRARY; \ | ||
42 | - ./tclsh $(TOOL_DIR)/installData.tcl \ | ||
43 | + tclsh $(TOOL_DIR)/installData.tcl \ | ||
44 | $(TOP_DIR)/library/tzdata "$(SCRIPT_INSTALL_DIR)"/tzdata | ||
45 | |||
46 | install-msgs: tclsh | ||
47 | @echo "Installing message catalogs" | ||
48 | @@LD_LIBRARY_PATH_VAR@="`pwd`:$${@LD_LIBRARY_PATH_VAR@}"; export @LD_LIBRARY_PATH_VAR@; \ | ||
49 | TCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}"; export TCL_LIBRARY; \ | ||
50 | - ./tclsh $(TOOL_DIR)/installData.tcl \ | ||
51 | + tclsh $(TOOL_DIR)/installData.tcl \ | ||
52 | $(TOP_DIR)/library/msgs "$(SCRIPT_INSTALL_DIR)"/msgs | ||
53 | |||
54 | install-doc: doc | ||
55 | @@ -1764,7 +1764,7 @@ html-tk: tclsh | ||
56 | BUILD_HTML = \ | ||
57 | @@LD_LIBRARY_PATH_VAR@="`pwd`:$${@LD_LIBRARY_PATH_VAR@}"; export @LD_LIBRARY_PATH_VAR@; \ | ||
58 | TCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}"; export TCL_LIBRARY; \ | ||
59 | - ./tclsh $(TOOL_DIR)/tcltk-man2html.tcl --htmldir="$(HTML_INSTALL_DIR)" \ | ||
60 | + tclsh $(TOOL_DIR)/tcltk-man2html.tcl --htmldir="$(HTML_INSTALL_DIR)" \ | ||
61 | --srcdir=$(TOP_DIR)/.. $(BUILD_HTML_FLAGS) | ||
62 | |||
63 | # | ||