From owner-freebsd-hackers Mon Jun 30 23:31:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA12761 for hackers-outgoing; Mon, 30 Jun 1997 23:31:23 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA12755 for ; Mon, 30 Jun 1997 23:31:17 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id QAA29699; Tue, 1 Jul 1997 16:00:13 +0930 (CST) From: Michael Smith Message-Id: <199707010630.QAA29699@genesis.atrad.adelaide.edu.au> Subject: Re: Tcl loadable packages In-Reply-To: from Narvi at "Jun 29, 97 10:58:17 pm" To: narvi@haldjas.folklore.ee (Narvi) Date: Tue, 1 Jul 1997 16:00:12 +0930 (CST) Cc: msmith@atrad.adelaide.edu.au, hackers@FreeBSD.ORG, hasty@rah.star-gate.com X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Narvi stands accused of saying: > > I included the to-be port as an attacment. It currently installs the > script (one line :-)) in ${PREFIX}/libdata. > > as for ../lib/tcl/site_tcl/..., it seems a bit unnceesarily too long. It's not really unnecessarily long; there should be one entry in lib for all the tcl stuff. You could argue that lib/tcl/pkgname would be adequate. > All of these would contain a mandatory load script (named just load?) that > would load the appropriate package (and possibly any dependancies). load, or pkgname_load (the latter would be more friendly) would be OK. > Version dependance - well, there realy is not much we can do. We could, of > course, have the load files have ineligence enough to load the right > library if present (but if not, etc.) Either that or usr lib/tcl/packages; install the package for the version it's built for... -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[