1Upstream-Status: Pending
2
3Patch by Chris Waters sets path which are normally point to a directory
4with Tk sources to a subdirectory of /usr/include/tcl8.4 (debian/rules
5puts private Tk headers there).
6
7--- tk8.5-8.5.8.orig/unix/tkConfig.sh.in
8+++ tk8.5-8.5.8/unix/tkConfig.sh.in
9@@ -55,7 +55,7 @@
10
11 # String to pass to linker to pick up the Tk library from its
12 # build directory.
13-TK_BUILD_LIB_SPEC='@TK_BUILD_LIB_SPEC@'
14+TK_BUILD_LIB_SPEC='@TK_LIB_SPEC@'
15
16 # String to pass to linker to pick up the Tk library from its
17 # installed directory.
18@@ -71,7 +71,7 @@
19 # different place than the directory containing the source files, this
20 # points to the location of the sources, not the location where Tk was
21 # compiled.
22-TK_SRC_DIR='@TK_SRC_DIR@'
23+TK_SRC_DIR='@includedir@/tk-private'
24
25 # Needed if you want to make a 'fat' shared library library
26 # containing tk objects or link a different wish.
27@@ -86,14 +86,14 @@
28
29 # String to pass to linker to pick up the Tk stub library from its
30 # build directory.
31-TK_BUILD_STUB_LIB_SPEC='@TK_BUILD_STUB_LIB_SPEC@'
32+TK_BUILD_STUB_LIB_SPEC='@TK_STUB_LIB_SPEC@'
33
34 # String to pass to linker to pick up the Tk stub library from its
35 # installed directory.
36 TK_STUB_LIB_SPEC='@TK_STUB_LIB_SPEC@'
37
38 # Path to the Tk stub library in the build directory.
39-TK_BUILD_STUB_LIB_PATH='@TK_BUILD_STUB_LIB_PATH@'
40+TK_BUILD_STUB_LIB_PATH='@TK_STUB_LIB_PATH@'
41
42 # Path to the Tk stub library in the install directory.
43 TK_STUB_LIB_PATH='@TK_STUB_LIB_PATH@'
44