From owner-freebsd-current Mon Oct 12 04:49:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA12610 for freebsd-current-outgoing; Mon, 12 Oct 1998 04:49:59 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from shrimp.dataplex.net (shrimp.dataplex.net [208.2.87.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA12603; Mon, 12 Oct 1998 04:49:56 -0700 (PDT) (envelope-from rkw@Dataplex.NET) Received: from [208.2.87.5] (user5.dataplex.net [208.2.87.5]) by shrimp.dataplex.net (8.9.1/8.9.1) with ESMTP id IAA07522; Mon, 12 Oct 1998 08:29:29 -0500 (CDT) (envelope-from rkw@dataplex.net) X-Sender: rkw@mail.dataplex.net Message-Id: In-Reply-To: <199810112120.OAA14918@bubble.didi.com> References: (message from Karl Pielorz on Sun, 11 Oct 1998 20:46:53 +0100 (BST)) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 12 Oct 1998 06:49:26 -0500 To: asami@FreeBSD.ORG (Satoshi Asami) From: Richard Wackerbarth Subject: Re: Never ending 'make clean' in kde port? Cc: kpielorz@tdx.co.uk, eivind@yes.no, current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 4:20 PM -0500 10/11/98, Satoshi Asami wrote: > * Nope, your right - I let it run again, it wasn't quite endless - just 60+ > * lines... Following the files through I think I can see what's happening, > * dependants that depend on stuff that's already depended on (but gets > * cleaned again anyway)... ;-) Not quite a mess, just a bit convoluted > >Well, if someone wants to submit a patch to fix this, I'm all ears. :) This is a clear case of the evils of "recursive make". http://www.canb.auug.org.au/~millerp/rmch/recu-make-cons-harm.html The recommended solution is to transfer the "clean" operation to the top of the ports tree and do it in one "make" at that point. This allows "make" to resolve the multiple target references and do them only once. I can supply a prototype. I will offer to implement it (post 3.0 release) if the changes will get committed. Richard Wackerbarth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message