Index: library/lib/make.tcl =================================================================== diff -u -r073177c8b1304443107efeeb0c334e9477346778 -rb71082336b5d8539575db24d5b0ca620282d6bfd --- library/lib/make.tcl (.../make.tcl) (revision 073177c8b1304443107efeeb0c334e9477346778) +++ library/lib/make.tcl (.../make.tcl) (revision b71082336b5d8539575db24d5b0ca620282d6bfd) @@ -3,7 +3,13 @@ ### ### - Build the pkgIndex in each directory ### + +# adjust the paths; +# - auto_path is needed, when nx is loaded via good old pkgIndex.tcl +# - tcl::tm::roots is needed when nx is provided as a tcl module (.tm) lappend auto_path .. +::tcl::tm::roots [pwd] +#puts stderr TM-LIST=[ ::tcl::tm::path list ] package require nx namespace eval ::nx {}; # make pkg_mkIndex happy