Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jan 1997 17:24:14 -0800 (PST)
From:      asami@cs.berkeley.edu (Satoshi Asami)
To:        ports@freebsd.org
Cc:        committers@freebsd.org, ports-jp@jp.freebsd.org
Subject:   multiple versions of tcl/tk
Message-ID:  <199701190124.RAA19157@baloon.mimi.com>

next in thread | raw e-mail | index | archive | help
I'm back.  It was quite cold up there in Tahoe.

Anyway, I ran into Dr. Ousterhout in the retreat, so asked him about
the multiple versions problem.  He suggested we put the shared files
(tk.h and tkConfig.sh) in subdirectories so that ports that require a
specific version (for example, 4.1) can either:

(1) use the -I flag to gcc to specify the subdirectory (i.e.,
    -I${PREFIX}/include/tk4.1), or

(2) edit the source and change the #include statements (i.e., <tk.h>
    -> <tk4.1/generic/tk.h>)

I suggested that we also make a symlink from tk.h and tkConfig.h to
the "default" version of the system, which he agreed is a good idea.

So, I will be committing changes to the tk41 port soon.  I will just
rename /usr/local/include/tk to tk4.1 and install tk.h in there and
change the direction of the symlink (right now it's tk/generic/tk.h ->
../../tk.h).  I'll also fix the ports that require the internal
headers (camltk41, tix, expect, any others?).

This means I can now allow other versions of tcl/tk (7.3, 7.4, 7.6,
8.0 for tcl and 3.6, 4.0, 4.2 and 8.0 for tk) to be active in the tree
iff someone makes the necessary changes to have them conform to the
above standard (obviously Japanese versions will be taking the same
path also).  Please contact me you are interested in doing the work.

Satoshi



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