From owner-freebsd-ports Wed Jun 30 4:50: 5 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 00381153C5 for ; Wed, 30 Jun 1999 04:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA32261; Wed, 30 Jun 1999 04:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Wed, 30 Jun 1999 04:50:02 -0700 (PDT) Message-Id: <199906301150.EAA32261@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Mikhail Teterin Subject: Re: ports/12457: lots of bsd.port.mk code executed needlessly Reply-To: Mikhail Teterin Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/12457; it has been noted by GNATS. From: Mikhail Teterin To: Tim Vanderhoek Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: ports/12457: lots of bsd.port.mk code executed needlessly Date: Wed, 30 Jun 1999 07:44:49 -0400 (EDT) Tim Vanderhoek once wrote: [...] > Actually, there's a very strong possibility that using dependencies > more would make it slower, not faster. If that's true, make(1) is not the tool for the job, is it? It currently is used mostly as an awkward script interpreter... > > -.if defined(MLINKS) > > +.if make(compress-man) && defined(MLINKS) > > __pmlinks!= ${ECHO} '${MLINKS:S/ / /}' | ${AWK} \ > > @@ -1128,3 +1128,3 @@ > > Your patch breaks if you use dependencies more, as you just suggested > a couple paragraphs ago. There's also a problem that is sufficiently > glaringly obvious as to show that you haven't tested this much... :-) That's true. It was more like a "pseudo-code". > Look, sorry for being terse, but it's almost 1:00am right now. Before > running off and filing a bug-report, I'm going to suggest that next > time you wait just a little while, especially given the first line I > wrote... I insist the bug-report is totally justified. As it is now, it takes my PentiumII-333MHz with 128Mb of RAM 25-35 seconds (!!) to finish processing bsd.port.mk in the tcl81 directory and start fetching/extracting/... Yours, -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message