Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | Patch by Sergei Golovan (originally by Mike Markley and Chris Waters) fixes |
| 2 | building on non-linux Debian architectures. |
| 3 | |
| 4 | --- tk8.5-8.5.8.orig/unix/configure |
| 5 | +++ tk8.5-8.5.8/unix/configure |
| 6 | @@ -4447,6 +4447,9 @@ |
| 7 | if test "`uname -s`" = "AIX" ; then |
| 8 | tcl_cv_sys_version=AIX-`uname -v`.`uname -r` |
| 9 | fi |
| 10 | + if test "`uname -s`" = "NetBSD" -a -f /etc/debian_version ; then |
| 11 | + tcl_cv_sys_version=NetBSD-Debian |
| 12 | + fi |
| 13 | fi |
| 14 | fi |
| 15 | |
| 16 | --- tk8.5-8.5.8.orig/unix/tcl.m4 |
| 17 | +++ tk8.5-8.5.8/unix/tcl.m4 |
| 18 | @@ -962,6 +962,9 @@ |
| 19 | if test "`uname -s`" = "AIX" ; then |
| 20 | tcl_cv_sys_version=AIX-`uname -v`.`uname -r` |
| 21 | fi |
| 22 | + if test "`uname -s`" = "NetBSD" -a -f /etc/debian_version ; then |
| 23 | + tcl_cv_sys_version=NetBSD-Debian |
| 24 | + fi |
| 25 | fi |
| 26 | fi |
| 27 | ]) |