summaryrefslogtreecommitdiff
path: root/lang/tcl/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'lang/tcl/patches/patch-ai')
-rw-r--r--lang/tcl/patches/patch-ai13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/tcl/patches/patch-ai b/lang/tcl/patches/patch-ai
new file mode 100644
index 00000000000..3686e4deefa
--- /dev/null
+++ b/lang/tcl/patches/patch-ai
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.1 2005/08/02 22:37:18 seb Exp $
+
+--- ../tests/load.test.orig 2004-09-14 17:02:56.000000000 +0000
++++ ../tests/load.test
+@@ -28,7 +28,7 @@ if {$tcl_platform(platform) == "macintos
+
+ # Tests require the existence of one of the DLLs in the dltest directory.
+ set ext [info sharedlibextension]
+-set testDir [file join [file dirname [info nameofexecutable]] dltest]
++set testDir [file join [file dirname [info nameofexecutable]] .. dltest .libs ]
+ set x [file join $testDir pkga$ext]
+ set dll "[file tail $x]Required"
+ ::tcltest::testConstraint $dll [file readable $x]