diff options
Diffstat (limited to 'upstream/tea/pkgIndex.tcl.in')
-rw-r--r-- | upstream/tea/pkgIndex.tcl.in | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/upstream/tea/pkgIndex.tcl.in b/upstream/tea/pkgIndex.tcl.in index bc585f7..f95f7d3 100644 --- a/upstream/tea/pkgIndex.tcl.in +++ b/upstream/tea/pkgIndex.tcl.in @@ -1,7 +1,10 @@ +# -*- tcl -*- +# Tcl package index file, version 1.1 # -# Tcl package index file -# -# Note sqlite*3* init specifically -# -package ifneeded sqlite3 @PACKAGE_VERSION@ \ - [list load [file join $dir @PKG_LIB_FILE@] Sqlite3] +if {[package vsatisfies [package provide Tcl] 9.0-]} { + package ifneeded sqlite3 @PACKAGE_VERSION@ \ + [list load [file join $dir @PKG_LIB_FILE9@] sqlite3] +} else { + package ifneeded sqlite3 @PACKAGE_VERSION@ \ + [list load [file join $dir @PKG_LIB_FILE8@] sqlite3] +} |