Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Mar 1998 09:16:44 +0100
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
Message-ID:  <19980302091644.61715@follo.net>
In-Reply-To: <199803020200.SAA16515@hub.freebsd.org>; from Daniel O'Connor on Sun, Mar 01, 1998 at 06:00:02PM -0800
References:  <199803020200.SAA16515@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980302091644.61715>