summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tltcl/lib/itcl4.2.2/pkgIndex.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/tltcl/lib/itcl4.2.2/pkgIndex.tcl')
-rw-r--r--Master/tlpkg/tltcl/lib/itcl4.2.2/pkgIndex.tcl14
1 files changed, 14 insertions, 0 deletions
diff --git a/Master/tlpkg/tltcl/lib/itcl4.2.2/pkgIndex.tcl b/Master/tlpkg/tltcl/lib/itcl4.2.2/pkgIndex.tcl
new file mode 100644
index 00000000000..d18d2cc5194
--- /dev/null
+++ b/Master/tlpkg/tltcl/lib/itcl4.2.2/pkgIndex.tcl
@@ -0,0 +1,14 @@
+# -*- tcl -*-
+# Tcl package index file, version 1.1
+#
+
+if {![package vsatisfies [package provide Tcl] 8.6-]} {return}
+
+if {[package vsatisfies [package provide Tcl] 9.0-]} {
+ package ifneeded itcl 4.2.2 \
+ [list load [file join $dir tcl9itcl422.dll] Itcl]
+} else {
+ package ifneeded itcl 4.2.2 \
+ [list load [file join $dir itcl422.dll] Itcl]
+}
+package ifneeded Itcl 4.2.2 [list package require -exact itcl 4.2.2]