Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / lang / tcl / patches / patch-unix_tclConfig.sh.in
blob8b43c3ca9c32ec8adb1f45ef4faba394959e994c
1 $NetBSD$
3 --- unix/tclConfig.sh.in.orig 2012-07-25 16:45:05.000000000 +0000
4 +++ unix/tclConfig.sh.in
5 @@ -9,6 +9,8 @@
7 # The information in this file is specific to a single platform.
9 +if [ -z "${_TCL_NOTHREAD}" ]; then
11 # Tcl's version number.
12 TCL_VERSION='@TCL_VERSION@'
13 TCL_MAJOR_VERSION='@TCL_MAJOR_VERSION@'
14 @@ -167,3 +169,9 @@ TCL_STUB_LIB_PATH='@TCL_STUB_LIB_PATH@'
16 # Flag, 1: we built Tcl with threads enables, 0 we didn't
17 TCL_THREADS=@TCL_THREADS@
19 +else
21 +. @prefix@/lib/tclConfig-nothread.sh
23 +fi