summaryrefslogtreecommitdiffstats
path: root/patches/tcl8.5.7/generic/use_hosts_tclsh.diff
blob: 8c55ece1aca2ed5fcd10175a62ef65c9453bcc4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Force the install stage to use the host's TCL shell instead
of its own. This fails badly while cross compiling.

Disadvantage: You need a proper TCL interpreter on the host
---
 unix/Makefile.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: unix/Makefile.in
===================================================================
--- unix/Makefile.in.orig
+++ unix/Makefile.in
@@ -824,7 +824,7 @@ install-msgs: tclsh
 	@echo "Installing message catalogs"
 	@@LD_LIBRARY_PATH_VAR@="`pwd`:$${@LD_LIBRARY_PATH_VAR@}"; export @LD_LIBRARY_PATH_VAR@; \
 	TCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}"; export TCL_LIBRARY; \
-	./tclsh $(TOOL_DIR)/installData.tcl \
+	tclsh $(TOOL_DIR)/installData.tcl \
 	    $(TOP_DIR)/library/msgs "$(SCRIPT_INSTALL_DIR)"/msgs
 
 install-doc: doc