6857103 tclsh should use 64bit binary on 64bit systems
authorRich Burridge <rich.burridge@oracle.com>
Thu, 05 Jan 2012 18:08:12 -0800
changeset 647 658de61433ed
parent 646 2b9f833c3ea0
child 648 cb2565225a42
6857103 tclsh should use 64bit binary on 64bit systems
components/tcl/tcl/tcl.p5m
--- a/components/tcl/tcl/tcl.p5m	Thu Jan 05 16:06:23 2012 -0800
+++ b/components/tcl/tcl/tcl.p5m	Thu Jan 05 18:08:12 2012 -0800
@@ -56,7 +56,7 @@
 dir path=usr/share/man/man3
 dir path=usr/share/man/man3tcl
 file path=usr/bin/$(MACH64)/tclsh8.5
-file path=usr/bin/tclsh8.5
+file usr/bin/tclsh8.5 path=usr/bin/$(MACH32)/tclsh8.5
 file path=usr/include/tcl.h
 file path=usr/include/tclDecls.h
 file path=usr/include/tclPlatDecls.h
@@ -507,8 +507,10 @@
     desc="Tcl - Tool Command Language" \
     name="Tcl - Tool Command Language"
 license tcl.license license=BSD-like
+link path=usr/bin/$(MACH32)/tclsh target=tclsh8.5
+link path=usr/bin/$(MACH64)/tclsh target=tclsh8.5
 link path=usr/bin/tclsh target=tclsh8.5
-link path=usr/bin/$(MACH64)/tclsh target=tclsh8.5
+link path=usr/bin/tclsh8.5 target=$(MACH64)/tclsh8.5
 link path=usr/share/man/man3tcl/Tcl_AddErrorInfo.3tcl target=Tcl_GetReturnOptions.3tcl
 link path=usr/share/man/man3tcl/Tcl_AddObjErrorInfo.3tcl \
     target=Tcl_GetReturnOptions.3tcl