Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 1997 11:22:09 -0400 (EDT)
From:      Tim Vanderhoek <hoek@hwcn.org>
To:        Satoshi Asami <asami@cs.berkeley.edu>
Cc:        hoek@hwcn.org, freebsd-ports@FreeBSD.ORG
Subject:   Re: Tcl/Tk ports questions
Message-ID:  <Pine.GSO.3.96.970703103438.4967C-100000@james.freenet.hamilton.on.ca>
In-Reply-To: <199707030801.BAA06945@silvia.HIP.Berkeley.EDU>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.970703103438.4967C-100000>