Subject: pkg/31098: lang/tcl
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <dauphin@enst.fr>
List: pkgsrc-bugs
Date: 08/30/2005 14:44:01
>Number:         31098
>Category:       pkg
>Synopsis:       lang/tcl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 30 14:44:00 +0000 2005
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic i86pc


>Description:


man of tcl won't install if you have a 'S' environement variable set to somethings


>How-To-Repeat:


S=toto
export S
bmake


>Fix:


--- work/tcl8.4.11/unix/installManPage.orig     Wed Jun 29 18:40:33 2005
+++ work/tcl8.4.11/unix/installManPage  Tue Aug 30 16:34:57 2005
@@ -1,6 +1,12 @@
 #!/bin/sh
 
 ZIP=:
+
+# initialize var , because it may be set via .profile
+S=""
+Z=""
+SUFFIX=""
+
 while true; do
     case $1 in
         -s | --symlinks  )      S="-s ";;