From owner-freebsd-ports Sat Jan 18 17:25:16 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id RAA10931 for ports-outgoing; Sat, 18 Jan 1997 17:25:16 -0800 (PST) Received: from dfw-ix4.ix.netcom.com (dfw-ix4.ix.netcom.com [206.214.98.4]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id RAA10923; Sat, 18 Jan 1997 17:25:11 -0800 (PST) Received: from baloon.mimi.com (sjx-ca55-01.ix.netcom.com [206.214.106.97]) by dfw-ix4.ix.netcom.com (8.6.13/8.6.12) with ESMTP id RAA09683; Sat, 18 Jan 1997 17:24:36 -0800 Received: (from asami@localhost) by baloon.mimi.com (8.8.4/8.6.12) id RAA19157; Sat, 18 Jan 1997 17:24:14 -0800 (PST) Date: Sat, 18 Jan 1997 17:24:14 -0800 (PST) Message-Id: <199701190124.RAA19157@baloon.mimi.com> To: ports@freebsd.org CC: committers@freebsd.org, ports-jp@jp.freebsd.org Reply-to: ports@freebsd.org Subject: multiple versions of tcl/tk From: asami@cs.berkeley.edu (Satoshi Asami) Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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., -> ) 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