summaryrefslogtreecommitdiffstats
path: root/win/makefile.vc
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2008-10-10 18:55:31 (GMT)
committerdgp <dgp@users.sourceforge.net>2008-10-10 18:55:31 (GMT)
commit15a8e6313089c75a6669fcfccd1bc9755afe5893 (patch)
treeedc5475958aaf5f6a153aece5c710b320ddd43a4 /win/makefile.vc
parentc693ced2182e43e881ebd26e0cfe533caa28861c (diff)
downloadtk-15a8e6313089c75a6669fcfccd1bc9755afe5893.zip
tk-15a8e6313089c75a6669fcfccd1bc9755afe5893.tar.gz
tk-15a8e6313089c75a6669fcfccd1bc9755afe5893.tar.bz2
* unix/Makefile.in: Relax constraints in index script so that
* win/Makefile.in: each Tk 8.5.* release may be [package require]d * win/makefile.vc: into any Tcl 8.5.* interp. [Bug 1890438].
Diffstat (limited to 'win/makefile.vc')
-rw-r--r--win/makefile.vc4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index 9690013..8fad4b0 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -12,7 +12,7 @@
# Copyright (c) 2001-2004 David Gravereaux.
#
#------------------------------------------------------------------------------
-# RCS: @(#) $Id: makefile.vc,v 1.117 2008/03/18 06:59:04 jenglish Exp $
+# RCS: @(#) $Id: makefile.vc,v 1.117.2.1 2008/10/10 18:55:31 dgp Exp $
#------------------------------------------------------------------------------
# Check to see we are configured to build with MSVC (MSDEVDIR or MSVCDIR)
@@ -897,7 +897,7 @@ install-binaries:
!if !$(STATIC_BUILD)
@echo creating package index
@type << > $(OUT_DIR)\pkgIndex.tcl
-if {[package vcompare [package provide Tcl] $(TCL_PATCH_LEVEL)] != 0} { return }
+if {[catch {package present Tcl 8.5.0-8.6}]} { return }
package ifneeded Tk $(TK_PATCH_LEVEL) [list load [file join $$dir .. .. bin $(TKLIBNAME)] Tk]
<<
@$(CPY) $(OUT_DIR)\pkgIndex.tcl "$(SCRIPT_INSTALL_DIR)\"