summaryrefslogtreecommitdiffstats
path: root/win/Makefile.in
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2013-01-11 09:51:01 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2013-01-11 09:51:01 (GMT)
commit4f4f05f4d5a6ec09bd8fb39155c1a8e9ccc8bdb2 (patch)
treee608d2723552872785a3a140b3d4098636edfeae /win/Makefile.in
parentf77422940daa9a78e2ce01a596f7699f90c363f6 (diff)
downloadtk-4f4f05f4d5a6ec09bd8fb39155c1a8e9ccc8bdb2.zip
tk-4f4f05f4d5a6ec09bd8fb39155c1a8e9ccc8bdb2.tar.gz
tk-4f4f05f4d5a6ec09bd8fb39155c1a8e9ccc8bdb2.tar.bz2
Eliminate all usage of deprecated Tcl_EvalObj, Tcl_GlobalEval and Tcl_GlobalEvalObj functions.
Add [file normalize] to pkgIndex.tcl, in order to prevent '..' in file paths. Remove unused TCLPATCHL, it should be ".0" for all final releases.
Diffstat (limited to 'win/Makefile.in')
-rw-r--r--win/Makefile.in13
1 files changed, 6 insertions, 7 deletions
diff --git a/win/Makefile.in b/win/Makefile.in
index b4a06a0..1c47ad2 100644
--- a/win/Makefile.in
+++ b/win/Makefile.in
@@ -5,7 +5,6 @@
# actual Makefile.
TCLVERSION = @TCL_VERSION@
-TCLPATCHL = @TCL_PATCH_LEVEL@
VERSION = @TK_VERSION@
#----------------------------------------------------------------
@@ -143,7 +142,7 @@ MAN2TCL = man2tcl$(EXEEXT)
@SET_MAKE@
-# Setting the VPATH variable to a list of paths will cause the
+# Setting the VPATH variable to a list of paths will cause the
# makefile to look into these paths when resolving .c to .obj
# dependencies.
@@ -366,7 +365,7 @@ SHELL_ENV = \
TK_LIBRARY="$(ROOT_DIR_NATIVE)/library"; export TK_LIBRARY; \
PATH="$(TCL_BIN_DIR):$(PATH)"; export PATH;
-# Main targets. The default target -- all -- builds the binaries,
+# Main targets. The default target -- all -- builds the binaries,
# performs any post processing on libraries or documents.
all: binaries libraries doc
@@ -437,15 +436,15 @@ install-binaries: binaries
$(COPY) $$i "$(BIN_INSTALL_DIR)"; \
fi; \
done
- @echo "Creating package index $(PKG_INDEX)";
+ @echo "Creating package index $(PKG_INDEX)";
@$(RM) $(PKG_INDEX);
@(\
- echo "if {[package vcompare [package provide Tcl] $(TCLVERSION)] != 0} { return }";\
+ echo "if {[package vcompare [package provide Tcl] 8.4] != 0} return";\
echo "if {(\$$::tcl_platform(platform) eq \"unix\") && ([info exists ::env(DISPLAY)]";\
echo " || ([info exists ::argv] && [lsearch -exact \$$::argv -display] > -1))} {";\
- echo " package ifneeded Tk $(VERSION) [list load [file join \$$dir .. .. bin libtk$(VERSION).dll] Tk]";\
+ echo " package ifneeded Tk $(VERSION) [list load [file normalize [file join \$$dir .. .. bin libtk$(VERSION).dll]] Tk]";\
echo "} else {";\
- echo " package ifneeded Tk $(VERSION) [list load [file join \$$dir .. .. bin $(TK_DLL_FILE)] Tk]";\
+ echo " package ifneeded Tk $(VERSION) [list load [file normalize [file join \$$dir .. .. bin $(TK_DLL_FILE)]] Tk]";\
echo "}";\
) > $(PKG_INDEX);
@for i in tkConfig.sh $(TK_LIB_FILE) $(TK_STUB_LIB_FILE); \