updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / tclmore / pkgIndex.tcl.in.patch
blob30887e584c5d1b92be8eb7d6dcc3e2efd7006134
1 --- tclconfig/pkgIndex.tcl.in.orig
2 +++ tclconfig/pkgIndex.tcl.in
3 @@ -1,2 +1,3 @@
4 +if {[package vcompare [info tclversion] @TCL_VERSION@] < 0} return
5 package ifneeded @TCL_PACKAGE_NAME@ @TCL_PACKAGE_VERSION@ [list load [file join $dir .. @@PACKAGE_NAME@_LIB_FILE@] @PACKAGE_NAME@]
6 set ::@TCL_PACKAGE_NAME@_library [file dirname [file normalize [info script]]]