Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 1998 14:30:21 -0800 (PST)
From:      asami@cs.berkeley.edu (Satoshi Asami)
To:        hoek@hwcn.org
Cc:        dev.random@dev.random.nu, baum@abirnet.co.il, freebsd-hackers@FreeBSD.ORG, ports@FreeBSD.ORG
Subject:   Re: bsd.port.mk is broken
Message-ID:  <199801212230.OAA00877@baloon.mimi.com>
In-Reply-To: <Pine.GSO.3.96.980121075710.27690A-100000@james.hwcn.org> (message from Tim Vanderhoek on Wed, 21 Jan 1998 08:06:16 -0500 (EST))

next in thread | previous in thread | raw e-mail | index | archive | help
 * 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



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