From green@feldman.dyn.ml.org  Sun Mar  1 17:01:36 1998
Received: from feldman.dyn.ml.org (root@1Cust102.max5.washington.dc.ms.uu.net [153.34.51.102])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA08685
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 1 Mar 1998 17:01:34 -0800 (PST)
          (envelope-from green@feldman.dyn.ml.org)
Received: (from root@localhost)
	by feldman.dyn.ml.org (8.8.8/8.8.8) id UAA05131;
	Sun, 1 Mar 1998 20:01:28 -0500 (EST)
	(envelope-from green)
Message-Id: <199803020101.UAA05131@feldman.dyn.ml.org>
Date: Sun, 1 Mar 1998 20:01:28 -0500 (EST)
From: green@feldman.dyn.ml.org
Reply-To: green@feldman.dyn.ml.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: tkirc wish dependency fix
X-Send-Pr-Version: 3.2

>Number:         5894
>Category:       ports
>Synopsis:       tkirc needs wish; by default wish8.0 is not linked
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar  1 17:10:03 PST 1998
>Closed-Date:    Sat Mar 7 07:34:15 PST 1998
>Last-Modified:  Sun Mar  8 06:50:01 PST 1998
>Originator:     Brian Feldman
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
>Environment:

ports-current
>Description:

tkirc needs wish, wish8.0 is present only.
>How-To-Repeat:

make the port and install it
>Fix:
	
Nice unified diff:

--- net/tkirc/Makefile.old      Sun Mar  1 19:56:47 1998
+++ net/tkirc/Makefile  Sun Mar  1 19:56:23 1998
@@ -27,6 +27,7 @@
        ${INSTALL_DATA} ${WRKSRC}/README          ${PREFIX}/share/doc/tkirc
        ${INSTALL_DATA} ${WRKSRC}/CHANGES         ${PREFIX}/share/doc/tkirc
        ${INSTALL_DATA} ${WRKSRC}/COPYING         ${PREFIX}/share/doc/tkirc
+       if [ ! -e ${PREFIX}/bin/wish ]; then ln -s wish8.0 ${PREFIX}/bin/wish; f
 i

 .include <bsd.port.mk>

>Release-Note:
>Audit-Trail:

From: "Daniel O'Connor" <doconnor@gsoft.com.au>
To: green@feldman.dyn.ml.org
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/5894: tkirc wish dependency fix 
Date: Mon, 02 Mar 1998 12:21:57 +1030

 > --- net/tkirc/Makefile.old      Sun Mar  1 19:56:47 1998
 > +++ net/tkirc/Makefile  Sun Mar  1 19:56:23 1998
 > @@ -27,6 +27,7 @@
 >         ${INSTALL_DATA} ${WRKSRC}/README          ${PREFIX}/share/doc/tkirc
 >         ${INSTALL_DATA} ${WRKSRC}/CHANGES         ${PREFIX}/share/doc/tkirc
 >         ${INSTALL_DATA} ${WRKSRC}/COPYING         ${PREFIX}/share/doc/tkirc
 > +       if [ ! -e ${PREFIX}/bin/wish ]; then ln -s wish8.0 ${PREFIX}/bin/wish
 > ; f
 
 Personally I think this should be done when you install tk.. Same with linking 
 /usr/local/include/tcl*.* to /usr/local/include/tcl, and libtcl* to libtcl..
 This makes getting no FreeBSD'ified stuff running much easier.. This way you 
 can try the latest version (which is what the links would be to), and if it 
 fails, try an older version you have installed..
 
 ---------------------------------------------------------------------
 |Daniel O'Connor software and network engineer for Genesis Software |
 |http://www.gsoft.com.au                                            |
 |The nice thing about standards is that there are so many of them to|
 |choose from. -- Andrew Tanenbaum                                   |
 ---------------------------------------------------------------------
 
 

From: "Daniel O'Connor" <doconnor@gsoft.com.au>
To: FreeBSD-gnats-submit@FreeBSD.ORG
Cc:  Subject: Re: ports/5894: tkirc wish dependency fix 
Date: Mon, 02 Mar 1998 12:24:55 +1030

 > --- net/tkirc/Makefile.old      Sun Mar  1 19:56:47 1998
 > +++ net/tkirc/Makefile  Sun Mar  1 19:56:23 1998
 > @@ -27,6 +27,7 @@
 >         ${INSTALL_DATA} ${WRKSRC}/README          ${PREFIX}/share/doc/tkirc
 >         ${INSTALL_DATA} ${WRKSRC}/CHANGES         ${PREFIX}/share/doc/tkirc
 >         ${INSTALL_DATA} ${WRKSRC}/COPYING         ${PREFIX}/share/doc/tkirc
 > +       if [ ! -e ${PREFIX}/bin/wish ]; then ln -s wish8.0 ${PREFIX}/bin/wish
 > ; f
 
 Personally I think this should be done when you install tk.. Same with linking 
 /usr/local/include/tcl*.* to /usr/local/include/tcl, and libtcl* to libtcl..
 This makes getting no FreeBSD'ified stuff running much easier.. This way you 
 can try the latest version (which is what the links would be to), and if it 
 fails, try an older version you have installed..
 
 PS this bounced sending to green@feldman.dyn.ml.org
 
 ---------------------------------------------------------------------
 |Daniel O'Connor software and network engineer for Genesis Software |
 |http://www.gsoft.com.au                                            |
 |The nice thing about standards is that there are so many of them to|
 |choose from. -- Andrew Tanenbaum                                   |
 ---------------------------------------------------------------------
 
 
 
 
 

From: Tim Vanderhoek <hoek@hwcn.org>
To: green@feldman.dyn.ml.org
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/5894: tkirc wish dependency fix
Date: Mon, 2 Mar 1998 01:46:16 -0500 (EST)

 On Sun, 1 Mar 1998 green@feldman.dyn.ml.org wrote:
 
 > Nice unified diff:
 > 
 > --- net/tkirc/Makefile.old      Sun Mar  1 19:56:47 1998
 > +++ net/tkirc/Makefile  Sun Mar  1 19:56:23 1998
 > @@ -27,6 +27,7 @@
 >         ${INSTALL_DATA} ${WRKSRC}/README          ${PREFIX}/share/doc/tkirc
 >         ${INSTALL_DATA} ${WRKSRC}/CHANGES         ${PREFIX}/share/doc/tkirc
 >         ${INSTALL_DATA} ${WRKSRC}/COPYING         ${PREFIX}/share/doc/tkirc
 > +       if [ ! -e ${PREFIX}/bin/wish ]; then ln -s wish8.0 ${PREFIX}/bin/wish; f
 >  i
 
 This is wrong.  If the port really doesn't work, whoever looks at
 this pr next should either 1) fix it properly, or 2) mark it
 broken.  Feel free to heckle the maintainer to fix it, or just
 ignore it and it will go away when I get some free time.
 
 
 --
 Outnumbered?  Maybe.  Outspoken?  Never!
 tIM...HOEk
 

From: Eivind Eklund <eivind@yes.no>
To: "Daniel O'Connor" <doconnor@gsoft.com.au>, freebsd-ports@hub.freebsd.org
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: ports/5894: tkirc wish dependency fix
Date: Mon, 2 Mar 1998 09:16:44 +0100

 On Sun, Mar 01, 1998 at 06:00:02PM -0800, Daniel O'Connor wrote:
 >  > --- net/tkirc/Makefile.old      Sun Mar  1 19:56:47 1998
 >  > +++ net/tkirc/Makefile  Sun Mar  1 19:56:23 1998
 >  > @@ -27,6 +27,7 @@
 >  >         ${INSTALL_DATA} ${WRKSRC}/README          ${PREFIX}/share/doc/tkirc
 >  >         ${INSTALL_DATA} ${WRKSRC}/CHANGES         ${PREFIX}/share/doc/tkirc
 >  >         ${INSTALL_DATA} ${WRKSRC}/COPYING         ${PREFIX}/share/doc/tkirc
 >  > +       if [ ! -e ${PREFIX}/bin/wish ]; then ln -s wish8.0 ${PREFIX}/bin/wish
 >  > ; f
 >  
 >  Personally I think this should be done when you install tk.. Same with linking 
 >  /usr/local/include/tcl*.* to /usr/local/include/tcl, and libtcl* to libtcl..
 >  This makes getting no FreeBSD'ified stuff running much easier.. This way you 
 >  can try the latest version (which is what the links would be to), and if it 
 >  fails, try an older version you have installed..
 
 This has been discussed before.  The final conclusion was that we wanted
 wish to print the fact that it is named with a version number, and a list of
 versions that is installed.  Here is a shell script I sent to the lists
 previously:
 
 ---- Tear here ---
 #!/bin/sh
 
 echo "In FreeBSD, wish is named with a version number.  This is because wish has" 1>&2
 echo "been incompatible between versions, and we want our ports to keep working." 1>&2
 echo 1>&2
 echo "On your system, the wish is installed under these names:" 1>&2
 for name in $(/bin/ls $(echo $PATH | sed 's/:/ /g') | egrep '^wish[0-9]+\.[0-
 9]+$')
 do
 	echo $name 1>&2
 done
 exit 0
 --- Tear here ---
 
 
 to which Satoshi replied:
 
 > This sounds very good.  Can someone write an INSTALL script to install
 > something like this?  (We can't just install it from the Makefile and
 > list it in pkg/PLIST, as that will make it disappear when a particular
 > version of tk is pkg_delete'd....)
 
 
 
 I still think this would be the best solution.
 
 Eivind.

From: "Daniel O'Connor" <doconnor@gsoft.com.au>
To: Eivind Eklund <eivind@yes.no>
Cc: "Daniel O'Connor" <doconnor@gsoft.com.au>, freebsd-ports@hub.freebsd.org,
        FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/5894: tkirc wish dependency fix 
Date: Tue, 03 Mar 1998 10:05:20 +1030

 > wish to print the fact that it is named with a version number, and a list of
 > versions that is installed.  Here is a shell script I sent to the lists
 > previously:
 
 > to which Satoshi replied:
 > 
 > > This sounds very good.  Can someone write an INSTALL script to install
 > > something like this?  (We can't just install it from the Makefile and
 > > list it in pkg/PLIST, as that will make it disappear when a particular
 > > version of tk is pkg_delete'd....)
 Well, perhaps you should add that script to the tk port so that it places it 
 as /usr/local/bin/wish when it installs..
 
 > I still think this would be the best solution.
 Sounds like a good idea to me..
 
 ---------------------------------------------------------------------
 |Daniel O'Connor software and network engineer for Genesis Software |
 |http://www.gsoft.com.au                                            |
 |The nice thing about standards is that there are so many of them to|
 |choose from. -- Andrew Tanenbaum                                   |
 ---------------------------------------------------------------------
 
 
State-Changed-From-To: open->closed 
State-Changed-By: hoek 
State-Changed-When: Sat Mar 7 07:34:15 PST 1998 
State-Changed-Why:  
Fixed, thanks! 

From: asami@FreeBSD.ORG (Satoshi Asami)
To: eivind@yes.no
Cc: ac199@hwcn.org, eivind@yes.no, hoek@FreeBSD.ORG, green@feldman.dyn.ml.org,
        freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: ports/5894
Date: Sun, 8 Mar 1998 22:44:47 +0900 (JST)

  * Satoshi suggested just never deleting it.  I believe this can be done
  * by just adding the script to <portdir>/files, and adding a suitable
  * install to <portdir>/pkg/INSTALL.
 
 The first sentence is correct, but pkg/INSTALL will never see
 files/<whatever> if called from pkg_add.  I think the easiest way is
 to embed the script itself in pkg/INSTALL (the "cat <<EOF" trick).
 
 Satoshi
>Unformatted:
