summaryrefslogtreecommitdiffstats
path: root/library/msgcat
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2001-08-09 01:06:42 (GMT)
committerdgp <dgp@users.sourceforge.net>2001-08-09 01:06:42 (GMT)
commitd7c342a4ee3392e4a7f62257ef6906bc1c1a3d2f (patch)
tree4ea0ef33da47dbebe516c83ac83f355a695d6494 /library/msgcat
parent280f05e70aff22b0058a6bbd878e84a12d01dcad (diff)
downloadtcl-d7c342a4ee3392e4a7f62257ef6906bc1c1a3d2f.zip
tcl-d7c342a4ee3392e4a7f62257ef6906bc1c1a3d2f.tar.gz
tcl-d7c342a4ee3392e4a7f62257ef6906bc1c1a3d2f.tar.bz2
Added checks for package dependencies.
Bumped patchlevels of changed packages: http 2.3.2, msgcat 1.2.2, opt 0.4.3, tcltest 2.0.1. [Patch 448931]
Diffstat (limited to 'library/msgcat')
-rw-r--r--library/msgcat/msgcat.tcl5
-rw-r--r--library/msgcat/pkgIndex.tcl3
2 files changed, 5 insertions, 3 deletions
diff --git a/library/msgcat/msgcat.tcl b/library/msgcat/msgcat.tcl
index 27c4c57..4622ea1 100644
--- a/library/msgcat/msgcat.tcl
+++ b/library/msgcat/msgcat.tcl
@@ -10,9 +10,10 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: msgcat.tcl,v 1.10 2000/12/11 04:17:38 dgp Exp $
+# RCS: @(#) $Id: msgcat.tcl,v 1.11 2001/08/09 01:06:42 dgp Exp $
-package provide msgcat 1.2.1
+package require Tcl 8.2
+package provide msgcat 1.2.2
namespace eval msgcat {
namespace export mc mcset mcmset mclocale mcpreferences mcunknown mcmax
diff --git a/library/msgcat/pkgIndex.tcl b/library/msgcat/pkgIndex.tcl
index acdd20c..d3f1d4b 100644
--- a/library/msgcat/pkgIndex.tcl
+++ b/library/msgcat/pkgIndex.tcl
@@ -1 +1,2 @@
-package ifneeded msgcat 1.2.1 [list source [file join $dir msgcat.tcl]]
+if {![package vsatisfies [package provide Tcl] 8.2]} {return}
+package ifneeded msgcat 1.2.2 [list source [file join $dir msgcat.tcl]]