summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/tcltk/tcl/0002-tcl-fix-a-build-issue.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/tcltk/tcl/0002-tcl-fix-a-build-issue.patch')
-rw-r--r--meta/recipes-devtools/tcltk/tcl/0002-tcl-fix-a-build-issue.patch79
1 files changed, 79 insertions, 0 deletions
diff --git a/meta/recipes-devtools/tcltk/tcl/0002-tcl-fix-a-build-issue.patch b/meta/recipes-devtools/tcltk/tcl/0002-tcl-fix-a-build-issue.patch
new file mode 100644
index 0000000000..a2d5622528
--- /dev/null
+++ b/meta/recipes-devtools/tcltk/tcl/0002-tcl-fix-a-build-issue.patch
@@ -0,0 +1,79 @@
1From 363d9d8fb329b26d1e59ece7f269a7a28e6722c5 Mon Sep 17 00:00:00 2001
2From: Nitin A Kamble <nitin.a.kamble@intel.com>
3Date: Fri, 13 Aug 2010 12:24:00 -0700
4Subject: [PATCH] tcl: fix a build issue
5
6Upstream-Status: Inappropriate [upstream does not support installed tests]
7---
8 unix/Makefile.in | 19 +++++++++----------
9 1 file changed, 9 insertions(+), 10 deletions(-)
10
11diff --git a/unix/Makefile.in b/unix/Makefile.in
12index 2de7b2f..b5f9ab7 100644
13--- a/unix/Makefile.in
14+++ b/unix/Makefile.in
15@@ -912,7 +912,7 @@ tcltest-real:
16 test: test-tcl test-packages
17
18 test-tcl: ${TCLTEST_EXE}
19- $(SHELL_ENV) ./${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl $(TESTFLAGS)
20+ $(SHELL_ENV) ${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl $(TESTFLAGS)
21
22 gdb-test: ${TCLTEST_EXE}
23 $(SHELL_ENV) $(GDB) --args ./${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl \
24@@ -922,15 +922,14 @@ lldb-test: ${TCLTEST_EXE}
25 $(SHELL_ENV) $(LLDB) -- ./${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl \
26 $(TESTFLAGS) -singleproc 1
27
28-
29 # Useful target to launch a built tcltest with the proper path,...
30 runtest: ${TCLTEST_EXE}
31- $(SHELL_ENV) ./${TCLTEST_EXE}
32+ $(SHELL_ENV) ${TCLTEST_EXE}
33
34 # Useful target for running the test suite with an unwritable current
35 # directory...
36 ro-test: ${TCLTEST_EXE}
37- echo 'exec chmod -w .;package require tcltest;tcltest::temporaryDirectory /tmp;source ../tests/all.tcl;exec chmod +w .' | $(SHELL_ENV) ./${TCLTEST_EXE}
38+ echo 'exec chmod -w .;package require tcltest;tcltest::temporaryDirectory /tmp;source ../tests/all.tcl;exec chmod +w .' | $(SHELL_ENV) ${TCLTEST_EXE}
39
40 # The following target generates the shared libraries in dltest/ that are used
41 # for testing; they are included as part of the "tcltest" target (via the
42@@ -948,17 +947,17 @@ dltest.marker: ${STUB_LIB_FILE}
43 # This target can be used to run tclsh from the build directory
44 # via `make shell SCRIPT=/tmp/foo.tcl`
45 shell: ${TCL_EXE}
46- $(SHELL_ENV) ./${TCL_EXE} $(SCRIPT)
47+ $(SHELL_ENV) ${TCL_EXE} $(SCRIPT)
48
49 # This target can be used to run tclsh inside either gdb or insight
50 gdb: ${TCL_EXE}
51- $(SHELL_ENV) $(GDB) ./${TCL_EXE}
52+ $(SHELL_ENV) $(GDB) ${TCL_EXE}
53
54 lldb: ${TCL_EXE}
55 $(SHELL_ENV) $(LLDB) ./${TCL_EXE}
56
57 valgrind: ${TCL_EXE} ${TCLTEST_EXE}
58- $(SHELL_ENV) $(VALGRIND) $(VALGRINDARGS) ./${TCLTEST_EXE} \
59+ $(SHELL_ENV) $(VALGRIND) $(VALGRINDARGS) ${TCLTEST_EXE} \
60 $(TOP_DIR)/tests/all.tcl -singleproc 1 -constraints valgrind \
61 $(TESTFLAGS)
62
63@@ -984,13 +983,13 @@ valgrind_each: $(addprefix testresults/valgrind/,$(addsuffix .success,$(notdir\
64
65
66 valgrindshell: ${TCL_EXE}
67- $(SHELL_ENV) $(VALGRIND) $(VALGRINDARGS) ./${TCL_EXE} $(SCRIPT)
68+ $(SHELL_ENV) $(VALGRIND) $(VALGRINDARGS) ${TCL_EXE} $(SCRIPT)
69
70 trace-shell: ${TCL_EXE}
71- $(SHELL_ENV) ${TRACE} $(TRACE_OPTS) ./${TCL_EXE} $(SCRIPT)
72+ $(SHELL_ENV) ${TRACE} $(TRACE_OPTS) ${TCL_EXE} $(SCRIPT)
73
74 trace-test: ${TCLTEST_EXE}
75- $(SHELL_ENV) ${TRACE} $(TRACE_OPTS) ./${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl -singleproc 1 $(TESTFLAGS)
76+ $(SHELL_ENV) ${TRACE} $(TRACE_OPTS) ${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl -singleproc 1 $(TESTFLAGS)
77
78 #--------------------------------------------------------------------------
79 # Installation rules