Index: pkgIndex.tcl.in ================================================================== --- pkgIndex.tcl.in +++ pkgIndex.tcl.in @@ -1,6 +1,6 @@ -package ifneeded tls @PACKAGE_VERSION@ [list apply {{dir} { +package ifneeded tls @PACKAGE_VERSION@ [join [list [list package require Tcl 8.5] [list apply {{dir} { if {{@TCLEXT_BUILD@} eq "static"} { load {} Tls } else { load [file join $dir tcltls.@SHOBJEXT@] Tls } @@ -7,6 +7,6 @@ set tlsTclInitScript [file join $dir tls.tcl] if {[file exists $tlsTclInitScript]} { source $tlsTclInitScript } -}} $dir] +}} $dir]] "; "]