Index: library/lib/mkIndex.tcl =================================================================== diff -u -re2825dd019097b845c0e7299a4594efebb5f93bc -r5bd3de95e41ea94c52c57e0bf63b72853d95ad61 --- library/lib/mkIndex.tcl (.../mkIndex.tcl) (revision e2825dd019097b845c0e7299a4594efebb5f93bc) +++ library/lib/mkIndex.tcl (.../mkIndex.tcl) (revision 5bd3de95e41ea94c52c57e0bf63b72853d95ad61) @@ -43,7 +43,8 @@ set pkgIndex "" foreach pkg [lsort [array names pkg_file]] { append pkgIndex "package ifneeded $pkg $pkg_version($pkg)\ - \[list source \[file join \$dir $pkg_file($pkg)\]\]\n" + \"\[list source \[file join \$dir $pkg_file($pkg)\]\];\ + \[list package provide $pkg $pkg_version($pkg)\]\"\n" } foreach addFile [glob -nocomplain *.add] { Index: library/nx/pkgIndex.tcl =================================================================== diff -u -r31adfd571eea2b09a742ab6cd06910c037a70be6 -r5bd3de95e41ea94c52c57e0bf63b72853d95ad61 --- library/nx/pkgIndex.tcl (.../pkgIndex.tcl) (revision 31adfd571eea2b09a742ab6cd06910c037a70be6) +++ library/nx/pkgIndex.tcl (.../pkgIndex.tcl) (revision 5bd3de95e41ea94c52c57e0bf63b72853d95ad61) @@ -1,3 +1,3 @@ -package ifneeded nx 2.4.0 [list source [file join $dir nx.tcl]] -package ifneeded nx::class-method 1.0 [list source [file join $dir class-method.tcl]] -package ifneeded nx::plain-object-method 1.0 [list source [file join $dir plain-object-method.tcl]] +package ifneeded nx 2.4.0 "[list source [file join $dir nx.tcl]]; [list package provide nx 2.4.0]" +package ifneeded nx::class-method 1.0 "[list source [file join $dir class-method.tcl]]; [list package provide nx::class-method 1.0]" +package ifneeded nx::plain-object-method 1.0 "[list source [file join $dir plain-object-method.tcl]]; [list package provide nx::plain-object-method 1.0]" Index: library/serialize/pkgIndex.tcl =================================================================== diff -u -r39197485bb3bf3b52b16bccda51800cd801b8f4b -r5bd3de95e41ea94c52c57e0bf63b72853d95ad61 --- library/serialize/pkgIndex.tcl (.../pkgIndex.tcl) (revision 39197485bb3bf3b52b16bccda51800cd801b8f4b) +++ library/serialize/pkgIndex.tcl (.../pkgIndex.tcl) (revision 5bd3de95e41ea94c52c57e0bf63b72853d95ad61) @@ -1 +1 @@ -package ifneeded nx::serializer 2.4.0 [list source [file join $dir serializer.tcl]] +package ifneeded nx::serializer 2.4.0 "[list source [file join $dir serializer.tcl]]; [list package provide nx::serializer 2.4.0]" Index: library/xotcl/library/comm/pkgIndex.tcl =================================================================== diff -u -rb34996b24ea334963e83aadda66384680a6f8ce5 -r5bd3de95e41ea94c52c57e0bf63b72853d95ad61 --- library/xotcl/library/comm/pkgIndex.tcl (.../pkgIndex.tcl) (revision b34996b24ea334963e83aadda66384680a6f8ce5) +++ library/xotcl/library/comm/pkgIndex.tcl (.../pkgIndex.tcl) (revision 5bd3de95e41ea94c52c57e0bf63b72853d95ad61) @@ -1,9 +1,9 @@ -package ifneeded xotcl::comm::connection 2.0 [list source [file join $dir Connection.xotcl]] -package ifneeded xotcl::comm::dav 2.0 [list source [file join $dir Dav.xotcl]] -package ifneeded xotcl::comm::ftp 2.0 [list source [file join $dir Ftp.xotcl]] -package ifneeded xotcl::comm::httpAccess 2.0 [list source [file join $dir Access.xotcl]] -package ifneeded xotcl::comm::httpd 2.0 [list source [file join $dir Httpd.xotcl]] -package ifneeded xotcl::comm::imap 2.0 [list source [file join $dir Imap.xotcl]] -package ifneeded xotcl::comm::ldap 2.0 [list source [file join $dir Ldap.xotcl]] -package ifneeded xotcl::comm::mime 2.0 [list source [file join $dir Mime.xotcl]] -package ifneeded xotcl::comm::pcache 2.0 [list source [file join $dir PCache.xotcl]] +package ifneeded xotcl::comm::connection 2.0 "[list source [file join $dir Connection.xotcl]]; [list package provide xotcl::comm::connection 2.0]" +package ifneeded xotcl::comm::dav 2.0 "[list source [file join $dir Dav.xotcl]]; [list package provide xotcl::comm::dav 2.0]" +package ifneeded xotcl::comm::ftp 2.0 "[list source [file join $dir Ftp.xotcl]]; [list package provide xotcl::comm::ftp 2.0]" +package ifneeded xotcl::comm::httpAccess 2.0 "[list source [file join $dir Access.xotcl]]; [list package provide xotcl::comm::httpAccess 2.0]" +package ifneeded xotcl::comm::httpd 2.0 "[list source [file join $dir Httpd.xotcl]]; [list package provide xotcl::comm::httpd 2.0]" +package ifneeded xotcl::comm::imap 2.0 "[list source [file join $dir Imap.xotcl]]; [list package provide xotcl::comm::imap 2.0]" +package ifneeded xotcl::comm::ldap 2.0 "[list source [file join $dir Ldap.xotcl]]; [list package provide xotcl::comm::ldap 2.0]" +package ifneeded xotcl::comm::mime 2.0 "[list source [file join $dir Mime.xotcl]]; [list package provide xotcl::comm::mime 2.0]" +package ifneeded xotcl::comm::pcache 2.0 "[list source [file join $dir PCache.xotcl]]; [list package provide xotcl::comm::pcache 2.0]" Index: library/xotcl/library/pkgIndex.tcl =================================================================== diff -u -r39197485bb3bf3b52b16bccda51800cd801b8f4b -r5bd3de95e41ea94c52c57e0bf63b72853d95ad61 --- library/xotcl/library/pkgIndex.tcl (.../pkgIndex.tcl) (revision 39197485bb3bf3b52b16bccda51800cd801b8f4b) +++ library/xotcl/library/pkgIndex.tcl (.../pkgIndex.tcl) (revision 5bd3de95e41ea94c52c57e0bf63b72853d95ad61) @@ -1 +1 @@ -package ifneeded XOTcl 2.4.0 [list source [file join $dir xotcl2.tcl]] +package ifneeded XOTcl 2.4.0 "[list source [file join $dir xotcl2.tcl]]; [list package provide XOTcl 2.4.0]"