Subject: pkg/6757: tclsh not installed by tcl80
To: None <>
From: None <>
List: netbsd-bugs
Date: 01/07/1999 11:29:18
>Number:         6757
>Category:       pkg
>Synopsis:       tclsh not installed by tcl80
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan  7 08:35:01 1999
>Originator:     Greg A. Woods
Planix, Inc.; Toronto, Ontario; Canada
>Release:        pkgsrc sup Wed Jan  6 08:05:41 EST 1999

System: NetBSD proven 1.3I NetBSD 1.3I (GENERIC) #1: Thu Dec 3 16:23:20 EST 1998 i386


	Some third party software, such as PostgreSQL, will look for
	the binary "tclsh" as an indication that TCL is installed,
	however the pkgsrc install of TCL-8.0 only installs tclsh8.0.


	by examination of PostgreSQL's


	apply the following patch (is there some way for pkg_add to
	create [and pkg_delete to remove] this link?)

Index: Makefile
RCS file: /cvs/NetBSD/pkgsrc/lang/tcl80/Makefile,v
retrieving revision
diff -c -r1.1.1.8 pkgsrc/lang/tcl80/Makefile
*** pkgsrc/lang/tcl80/Makefile	1998/10/02 17:46:17
--- pkgsrc/lang/tcl80/Makefile	1999/01/07 16:23:10
*** 20,23 ****
--- 20,27 ----
+ post-install:
+ 	@rm -f ${PREFIX}/tclsh
+ 	ln -s tclsh8.0 ${PREFIX}/tclsh
  .include "../../mk/"