From owner-freebsd-ports Wed Sep 10 11:15:43 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA17238 for ports-outgoing; Wed, 10 Sep 1997 11:15:43 -0700 (PDT) Received: from pahtoh.cwu.edu (root@pahtoh.cwu.edu [198.104.65.27]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA17231 for ; Wed, 10 Sep 1997 11:15:41 -0700 (PDT) Received: from opus.cts.cwu.edu (skynyrd@opus.cts.cwu.edu [198.104.92.71]) by pahtoh.cwu.edu (8.8.7/8.8.7) with ESMTP id LAA22751; Wed, 10 Sep 1997 11:15:38 -0700 (PDT) Received: from localhost (skynyrd@localhost) by opus.cts.cwu.edu (8.8.7/8.8.7) with SMTP id LAA07805; Wed, 10 Sep 1997 11:15:37 -0700 (PDT) Date: Wed, 10 Sep 1997 11:15:37 -0700 (PDT) From: Chris Timmons To: Jean-Marc Zucconi cc: freebsd-ports@FreeBSD.ORG Subject: ports/x11/XFree86 and Tcl/Tk detection In-Reply-To: <9709040032.AA06590@cabri.obs-besancon.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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. 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? -Chris