From owner-freebsd-ports Thu Jul 3 08:23:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA14867 for ports-outgoing; Thu, 3 Jul 1997 08:23:03 -0700 (PDT) Received: from hwcn.org (main.hwcn.org [199.212.94.65]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA14855 for ; Thu, 3 Jul 1997 08:22:53 -0700 (PDT) Received: from james.freenet.hamilton.on.ca (ac199@james.hwcn.org [199.212.94.66]) by hwcn.org (8.8.6/8.8.6) with ESMTP id LAA04402; Thu, 3 Jul 1997 11:22:00 -0400 (EDT) Received: from localhost (ac199@localhost) by james.freenet.hamilton.on.ca (8.8.6/8.8.6) with SMTP id LAA12272; Thu, 3 Jul 1997 11:22:10 -0400 (EDT) X-Authentication-Warning: james.freenet.hamilton.on.ca: ac199 owned process doing -bs Date: Thu, 3 Jul 1997 11:22:09 -0400 (EDT) From: Tim Vanderhoek X-Sender: ac199@james.freenet.hamilton.on.ca Reply-To: Tim Vanderhoek To: Satoshi Asami cc: hoek@hwcn.org, freebsd-ports@FreeBSD.ORG Subject: Re: Tcl/Tk ports questions In-Reply-To: <199707030801.BAA06945@silvia.HIP.Berkeley.EDU> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 3 Jul 1997, Satoshi Asami wrote: > * The port is known to work and automatically detect/configure for > * tcl75/tk41, tcl76/tk42, and tcl/tk 80. > > How does it do that? If it reads tclConfig.sh and tkConfig.sh in the > standard locations, it will always find tcl75 and tk41. No, it doesn't know about t[cl|k]Config.sh. Its configure.in is hardcoded to check for 42, 41, 80 (in that order) with autoconf's AC_CHECK_LIB function. > * 1) Has any way of writing the LIB_DEPENDS been decided upon, > * yet? (Optimally settles for tk41, but installs tk42 if neither > * tk80 nor tk41 found). > > No. Open/Save functions are disabled if tk41 is used, and if the user tries to use them it suggests that they upgrade. I'm thinking about this from a package-building standpoint. The package will automatically link against tk42 instead of tk41/tk80 if tk42 is installed. I guess it would be best to depend on tk42, but put a note in the Makefile that it can automatically configure for tk41 or tk80 instead. (It doesn't use dynamically loadable tcl modules since that would complicate compiling on Cyg-Win95) -- Outnumbered? Maybe. Outspoken? Never! tIM...HOEk