mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
24 lines
587 B
Bash
24 lines
587 B
Bash
$NetBSD: patch-unix_tclConfig.sh.in,v 1.2 2014/10/31 21:11:18 adam Exp $
|
|
|
|
--- unix/tclConfig.sh.in.orig 2014-08-26 15:23:08.000000000 +0000
|
|
+++ unix/tclConfig.sh.in
|
|
@@ -9,6 +9,8 @@
|
|
#
|
|
# The information in this file is specific to a single platform.
|
|
|
|
+if [ -z "${_TCL_NOTHREAD}" ]; then
|
|
+
|
|
# Tcl's version number.
|
|
TCL_VERSION='@TCL_VERSION@'
|
|
TCL_MAJOR_VERSION='@TCL_MAJOR_VERSION@'
|
|
@@ -167,3 +169,9 @@ TCL_STUB_LIB_PATH='@TCL_STUB_LIB_PATH@'
|
|
|
|
# Flag, 1: we built Tcl with threads enabled, 0 we didn't
|
|
TCL_THREADS=@TCL_THREADS@
|
|
+
|
|
+else
|
|
+
|
|
+. @prefix@/lib/tclConfig-nothread.sh
|
|
+
|
|
+fi
|