From owner-freebsd-ports Wed Mar 18 09:50:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA20571 for freebsd-ports-outgoing; Wed, 18 Mar 1998 09:50:33 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.54]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA20559 for ; Wed, 18 Mar 1998 09:50:30 -0800 (PST) (envelope-from kargl@troutmask.apl.washington.edu) Received: (from kargl@localhost) by troutmask.apl.washington.edu (8.8.8/8.8.5) id JAA02130; Wed, 18 Mar 1998 09:53:20 -0800 (PST) From: "Steven G. Kargl" Message-Id: <199803181753.JAA02130@troutmask.apl.washington.edu> Subject: Re: bsd.port.mk bug??? In-Reply-To: <19980318181840.63717@follo.net> from Eivind Eklund at "Mar 18, 98 06:18:40 pm" To: eivind@yes.no (Eivind Eklund) Date: Wed, 18 Mar 1998 09:53:20 -0800 (PST) Cc: ac199@hwcn.org, freebsd-ports@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org According to Eivind Eklund: > On Wed, Mar 18, 1998 at 09:10:09AM -0800, Steven G. Kargl wrote: > > According to Tim Vanderhoek: > > > On Wed, 18 Mar 1998, Steven G. Kargl wrote: > > > > > > > Seems that the mere presence of tk.h or tck.h in /usr/local/include > > > > will stop the building of ALL ports unless I follow the instructions > > > > to remove these files. This is rather draconian especially when the > > > > most ports do not use tk/tcl. > > > > > > Think of it as a proactive bug. :-) > > > > Proactive??? > > > > cd /usr/ports/x11/lesstif > > make > > ===> lesstif-0.83 : You have an old file (/usr/local/include/tk.h) that > > could cause problems for some ports to compile. Please remove it and try > > again. You may have to reinstall tk from the ports tree afterwards. > > > > pkg_delete tk-8.0.2 > > > You're supposed to remove the _file_ (/usr/local/include/tk.h), not the TK > package. > Quoted from above, "You may have to reinstall tk from the ports tree afterwards." This suggests that you need to delete tk. Granted, "make reinstall" in the right tk directory will side-step the pkg_delete of the currently installed tk; but this still requires 2 ports to be built. How ports are in the tree 1200 to 1300? cd /usr/ports find . -name Makefile -print | xargs grep CATEG > ~/tmp/aaa wc ~/tmp/aaa 1078 2456 48128 /home/kargl/tmp/aaa grep tk ~/tmp/aaa | wc 59 184 2744 grep tcl ~/tmp/aaa | wc 14 41 634 I'll be generous because I don't have a complete ports tree and assume 100 ports depend of tk/tcl. Let's see, (100/1200)*100 = 8.3% What are the CATEGORIES and LIB_DEPEND variables for? At the very least, one would expect these variable should be checked to see if there could be a conflict with an out-of-date tk/tcl port. -- Steve finger kargl@troutmask.apl.washington.edu http://troutmask.apl.washington.edu/~clesceri/kargl.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message