From owner-freebsd-ports Thu Jul 1 6:22:20 1999 Delivered-To: freebsd-ports@freebsd.org Received: from rucus.ru.ac.za (rucus.ru.ac.za [146.231.29.2]) by hub.freebsd.org (Postfix) with SMTP id E7A5415743 for ; Thu, 1 Jul 1999 06:22:06 -0700 (PDT) (envelope-from nbm@rucus.ru.ac.za) Received: (qmail 83444 invoked by uid 1003); 1 Jul 1999 13:21:42 -0000 Date: Thu, 1 Jul 1999 15:21:42 +0200 From: Neil Blakey-Milner To: Tim Vanderhoek Cc: Steve Price , Mikhail Teterin , ports@FreeBSD.ORG Subject: Re: tcl81 port takes forever to START building Message-ID: <19990701152142.A82544@rucus.ru.ac.za> References: <199906291908.PAA74662@misha.cisco.com> <19990629213603.A49201@mad> <19990630001241.B70845@mad> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <19990630001241.B70845@mad>; from Tim Vanderhoek on Wed, Jun 30, 1999 at 12:12:41AM -0400 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed 1999-06-30 (00:12), Tim Vanderhoek wrote: > On Tue, Jun 29, 1999 at 09:36:03PM -0400, Tim Vanderhoek wrote: > > > > You have to think of some way of putting the correct MAN[1-9LN]PREFIX > > in front of each entry in MLINKS _without_ using a make .for ... > > .endfor loop. > > It looks like I've found a solution to this. time for a "make describe" > on tcl81 is down to about 1 second and time for a generate-plist is at > about 2 seconds. Time for "make null" where null is a target that > @${DO_NADA} does nothing is also at 1 second. The reason for the long waits is the multiple "make" calls inside each of the _PORT_USE macro users, like fetch, extract, &c. I endlessly speeded up my tcl81 build (incorrectly) by putting the .include between ".if target(generate-plist) || target(mlinks)"/".endif", but that's not the correct way to do it (there're checks that decide whether to run those targets which don't work properly). I think the only way to really fix it is to cordon off all the make calls to sed, awk, and other crunchers when you're not doing something that actually needs that work to be done. If you're really lucky, maybe you just need to work out where to put a couple ".if target()"/".endif" pairs. If nothing's been done on this in two weeks, I'll consider myself volunteered. (National Arts Festival/Grahamstown Festival is on) Neil -- Neil Blakey-Milner nbm@rucus.ru.ac.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message