From owner-freebsd-ports Wed Jan 21 14:30:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA00602 for freebsd-ports-outgoing; Wed, 21 Jan 1998 14:30:52 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from baloon.mimi.com (sjx-ca115-44.ix.netcom.com [207.223.162.108]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA00551; Wed, 21 Jan 1998 14:30:41 -0800 (PST) (envelope-from asami@vader.cs.berkeley.edu) Received: (from asami@localhost) by baloon.mimi.com (8.8.8/8.8.8) id OAA00877; Wed, 21 Jan 1998 14:30:21 -0800 (PST) (envelope-from asami) Date: Wed, 21 Jan 1998 14:30:21 -0800 (PST) Message-Id: <199801212230.OAA00877@baloon.mimi.com> To: hoek@hwcn.org CC: dev.random@dev.random.nu, baum@abirnet.co.il, freebsd-hackers@FreeBSD.ORG, ports@FreeBSD.ORG Reply-to: ports@FreeBSD.ORG In-reply-to: (message from Tim Vanderhoek on Wed, 21 Jan 1998 08:06:16 -0500 (EST)) Subject: Re: bsd.port.mk is broken From: asami@cs.berkeley.edu (Satoshi Asami) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * When Satoshi sent the patches out for everyone to review before * committing them, it occurred to me to suggest that the check be * made less forcefully, perhaps only when the port being built * actually uses Tcl, and I accept the blame for not suggesting * this, How do you implement this though? grep for the string "tcl" in *_DEPENDS? * but the simple fact is that the Tcl ports are not expected * to know that the Tcl they find in /usr[/local]/include cannot be * used. That and the number of ports submissions (and in some case commits) from people who have remnants of old tcl in their system. Anyway, here's an updated version, request for comments please! Check for: /usr/include/tcl.h /usr/lib/libtcl??.so.*.* tell users to: delete the above two if they don't want system tcl, rm -rf /usr/{include,libdata}/tcl/*, /usr/{lib,bin}/*tcl*, /usr/share/man/*n/* and define NOTCL in /etc/make.conf run ldconfig -R (I believe system tcl installs libtcl.so.*.* now.) By the way, does anyone know how to do a check for a file existence (".if exists(foofile)") with a wildcard in make? Or do I need to list all the possibilties (libtcl.so.75.0, libtcl.so.7.5, libtcl75.so.1.0, etc.)? Satoshi