From owner-freebsd-ports Thu Sep 11 04:40:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA15926 for ports-outgoing; Thu, 11 Sep 1997 04:40:21 -0700 (PDT) Received: from cabri.obs-besancon.fr (cabri.obs-besancon.fr [193.52.184.3]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id EAA15921 for ; Thu, 11 Sep 1997 04:40:18 -0700 (PDT) Received: by cabri.obs-besancon.fr (5.57/Ultrix3.0-C) id AA04393; Thu, 11 Sep 97 13:39:26 +0100 Date: Thu, 11 Sep 97 13:39:26 +0100 Message-Id: <9709111239.AA04393@cabri.obs-besancon.fr> From: Jean-Marc Zucconi To: skynyrd@opus.cts.cwu.edu Cc: freebsd-ports@freebsd.org In-Reply-To: (message from Chris Timmons on Wed, 10 Sep 1997 11:15:37 -0700 (PDT)) Subject: Re: ports/x11/XFree86 and Tcl/Tk detection X-Mailer: Emacs Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >>>>> Chris Timmons writes: > Jean-Marc, > I see that you've done a lot of work on the configure script for XFree86; > thanks! I am having a problem with Tk detection now that I've expunged > the base system Tcl and installed the new ports flavors of Tcl/Tk. > ports/x11/XFree86/scripts/configure notices my /usr/local/lib/libtk42.a, > but still operates under the old Tcl/Tk assumptions that result in > incorrect values for Tcl/Tk in work/xc/config/cf/site.def. This is in xf86site.def. > I am wondering if it might be time to move away from an auto-detection > scheme and perhaps support something conceptually like this in the top > level Makefile: > # Uncomment to build XF86Setup > # CONFIGURE_ARGS= --with-tcl-config=/usr/local/lib/tcl{n} \ > # --with-tk-config=/usr/local/lib/tk{n} > [where {n} is the most recent known-compatible Tcl/Tk for XF86Setup] > What do you think? I agree that the current setup is (slightly) bogus after al the tcl/tk changes but it is still possible to have a correct autodetection sheme. Compiling XF86Setup with version X or Y of tk is not very important as long as it works. I think that XF86Setup, when compiled for tk4.1 or tk4.2 can use the tcl shared lib in /usr/lib. The problem is if we want to use XF86Setup with tk8.0: we ten must use the static tcl8.0 library. I am for keeping and improving the autodetection scheme and using your config args to override the autodetection and force the use of a particular tcl/tk version. Then XF86Setup will be built even if you don't set CONFIGURE_ARGS. Jean-Marc _____________________________________________________________________________ Jean-Marc Zucconi Observatoire de Besancon F 25010 Besancon cedex PGP Key: finger jmz@cabri.obs-besancon.fr