diff options
author | dgp <dgp@users.sourceforge.net> | 2018-03-12 15:57:54 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2018-03-12 15:57:54 (GMT) |
commit | 2ae2445072e3f52e56fa916fae2fbb21ac5629d0 (patch) | |
tree | 6e9baf43d19019ab576b2564603c0e591ba61d1f /library | |
parent | 8bd4a8cf2c0d70bf09729c5f6b203b75f0e6fd52 (diff) | |
download | tcl-2ae2445072e3f52e56fa916fae2fbb21ac5629d0.zip tcl-2ae2445072e3f52e56fa916fae2fbb21ac5629d0.tar.gz tcl-2ae2445072e3f52e56fa916fae2fbb21ac5629d0.tar.bz2 |
msgcat 1.7.0 features need foundation of Tcl 8.7.
Diffstat (limited to 'library')
-rw-r--r-- | library/msgcat/msgcat.tcl | 3 | ||||
-rw-r--r-- | library/msgcat/pkgIndex.tcl | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/library/msgcat/msgcat.tcl b/library/msgcat/msgcat.tcl index 96b0110..50a9064 100644 --- a/library/msgcat/msgcat.tcl +++ b/library/msgcat/msgcat.tcl @@ -11,7 +11,8 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. -package require Tcl 8.6- +# We use oo::define::self, which is new in Tcl 8.7 +package require Tcl 8.7- # When the version number changes, be sure to update the pkgIndex.tcl file, # and the installation directory in the Makefiles. package provide msgcat 1.7.0 diff --git a/library/msgcat/pkgIndex.tcl b/library/msgcat/pkgIndex.tcl index 2feb9c6..3309a30 100644 --- a/library/msgcat/pkgIndex.tcl +++ b/library/msgcat/pkgIndex.tcl @@ -1,2 +1,2 @@ -if {![package vsatisfies [package provide Tcl] 8.6-]} {return} +if {![package vsatisfies [package provide Tcl] 8.7-]} {return} package ifneeded msgcat 1.7.0 [list source [file join $dir msgcat.tcl]] |