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