From owner-freebsd-ports Sat Mar 7 14:57:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA23981 for freebsd-ports-outgoing; Sat, 7 Mar 1998 14:57:32 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from ppp1680.on.bellglobal.com (ppp6532.on.bellglobal.com [206.172.208.124]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA23900; Sat, 7 Mar 1998 14:57:05 -0800 (PST) (envelope-from ac199@hwcn.org) Received: from localhost (tim@localhost) by ppp1680.on.bellglobal.com (8.8.8/8.8.8) with SMTP id RAA00608; Sat, 7 Mar 1998 17:55:32 -0500 (EST) (envelope-from ac199@hwcn.org) X-Authentication-Warning: ppp1680.on.bellglobal.com: tim owned process doing -bs Date: Sat, 7 Mar 1998 17:55:31 -0500 (EST) From: Tim Vanderhoek X-Sender: tim@localhost Reply-To: ac199@hwcn.org To: Eivind Eklund cc: Tim Vanderhoek , green@feldman.dyn.ml.org, freebsd-ports@FreeBSD.ORG Subject: Re: ports/5894 In-Reply-To: <19980307173331.08663@follo.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, 7 Mar 1998, Eivind Eklund wrote: > As far as I can tell, only the port itself has been changed, not the > actual TCL install. I don't use TCL much, and don't really want to > mess about with those ports - can you fix the script install? I suppose... First, though, I think it's important to find a way to prevent pkg_add tcl-8.0 pkg_add tcl-4.2 pkg_delete tcl-4.2 from deleting the /usr/local/bin/wish|tclsh script we've just installed. This is important because a given tcl/tk port may not compile properly in the presence of this generic script. Port committers, who (speaking for myself, at least) regularly go through the equivalent of the above sequence of commands, will not catch the broken port. It would eventually show up when the port is built on the package-building machine, of course, but that's a PITA. What's the easiest way to conditionalize this in pkg/PLIST? @unexec j=`eval "echo %D/bin/wish[^8].[^0]"` ; \ if expr "$j" : ".*\[^8]\.\[^0 ]" ; then rm %D/bin/wish ; fi Ugh. That's yucky. :) Can someone suggest a slightly less masochistic way? -- tIM...HOEk OPTIMIZATION: the process of using many one-letter variables names hoping that the resultant code will run faster. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message