rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | Patch by Sergei Golovan allows to find tclConfig.sh in /usr/share/tcltk/tcl8.5 |
| 2 | and tkConfig.sh in /usr/share/tcltk/tk8.5 where they are located in Debian |
| 3 | installation. |
| 4 | |
| 5 | --- tk8.5-8.5.8.orig/unix/configure |
| 6 | +++ tk8.5-8.5.8/unix/configure |
| 7 | @@ -1431,7 +1431,8 @@ |
| 8 | `ls -d /usr/contrib/lib 2>/dev/null` \ |
| 9 | `ls -d /usr/local/lib 2>/dev/null` \ |
| 10 | `ls -d /usr/pkg/lib 2>/dev/null` \ |
| 11 | + `ls -d /usr/share/tcltk/tcl8.5 2>/dev/null` \ |
| 12 | `ls -d /usr/lib 2>/dev/null` \ |
| 13 | `ls -d /usr/lib64 2>/dev/null` \ |
| 14 | ; do |
| 15 | if test -f "$i/tclConfig.sh" ; then |
| 16 | --- tk8.5-8.5.8.orig/unix/tcl.m4 |
| 17 | +++ tk8.5-8.5.8/unix/tcl.m4 |
| 18 | @@ -93,7 +93,8 @@ |
| 19 | `ls -d /usr/contrib/lib 2>/dev/null` \ |
| 20 | `ls -d /usr/local/lib 2>/dev/null` \ |
| 21 | `ls -d /usr/pkg/lib 2>/dev/null` \ |
| 22 | + `ls -d /usr/share/tcltk/tcl8.5 2>/dev/null` \ |
| 23 | `ls -d /usr/lib 2>/dev/null` \ |
| 24 | `ls -d /usr/lib64 2>/dev/null` \ |
| 25 | ; do |
| 26 | if test -f "$i/tclConfig.sh" ; then |
| 27 | @@ -223,7 +224,8 @@ |
| 28 | `ls -d ${prefix}/lib 2>/dev/null` \ |
| 29 | `ls -d /usr/local/lib 2>/dev/null` \ |
| 30 | `ls -d /usr/contrib/lib 2>/dev/null` \ |
| 31 | + `ls -d /usr/share/tcltk/tk8.5 2>/dev/null` \ |
| 32 | `ls -d /usr/lib 2>/dev/null` \ |
| 33 | `ls -d /usr/lib64 2>/dev/null` \ |
| 34 | ; do |
| 35 | if test -f "$i/tkConfig.sh" ; then |