summaryrefslogtreecommitdiff
path: root/lang/tcl/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'lang/tcl/patches/patch-ag')
-rw-r--r--lang/tcl/patches/patch-ag21
1 files changed, 15 insertions, 6 deletions
diff --git a/lang/tcl/patches/patch-ag b/lang/tcl/patches/patch-ag
index 3e3753fc43c..4564c2983dc 100644
--- a/lang/tcl/patches/patch-ag
+++ b/lang/tcl/patches/patch-ag
@@ -1,13 +1,22 @@
-$NetBSD: patch-ag,v 1.1 2004/03/25 22:49:15 jlam Exp $
+$NetBSD: patch-ag,v 1.2 2004/06/22 18:34:09 drochner Exp $
---- tclConfig.sh.in.orig Mon Mar 1 18:58:59 2004
+--- tclConfig.sh.in.orig 2004-03-02 00:58:59.000000000 +0100
+++ tclConfig.sh.in
-@@ -90,7 +90,7 @@ TCL_DL_LIBS='@DL_LIBS@'
+@@ -13,2 +13,4 @@
- # Flags to pass to the compiler when linking object files into
++if [ -z "${_TCL_NOTHREAD}" ]; then
++
+ # Tcl's version number.
+@@ -92,3 +94,3 @@ TCL_DL_LIBS='@DL_LIBS@'
# an executable tclsh or tcltest binary.
-TCL_LD_FLAGS='@LDFLAGS@'
+TCL_LD_FLAGS='@LD_FLAGS@'
- # Flags to pass to ld, such as "-R /usr/local/tcl/lib", that tell the
- # run-time dynamic linker where to look for shared libraries such as
+@@ -180 +182,7 @@ TCL_STUB_LIB_PATH='@TCL_STUB_LIB_PATH@'
+ TCL_THREADS=@TCL_THREADS@
++
++else
++
++. @prefix@/lib/tclConfig-nothread.sh
++
++fi