From owner-freebsd-ports@FreeBSD.ORG Thu May 17 11:45:36 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F395616A404 for ; Thu, 17 May 2007 11:45:35 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id AA06D13C43E for ; Thu, 17 May 2007 11:45:35 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54a5e785.dip.t-dialin.net [84.165.231.133]) by redbull.bpaserver.net (Postfix) with ESMTP id 658C52E14D for ; Thu, 17 May 2007 13:45:31 +0200 (CEST) Received: from deskjail (deskjail.Leidinger.net [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id 98C775B48A3 for ; Thu, 17 May 2007 13:45:15 +0200 (CEST) Date: Thu, 17 May 2007 13:45:29 +0200 From: Alexander Leidinger To: freebsd-ports@freebsd.org Message-ID: <20070517134529.7f2453ca@deskjail> In-Reply-To: <20070517114436.3fdd55b1@deskjail> References: <464597C6.3030406@gmx.de> <20070512174011.GA22526@xor.obsecurity.org> <4645FF71.60100@gmx.de> <20070512175824.GA23103@xor.obsecurity.org> <20070512133054.B5588@math.missouri.edu> <4646193E.5040503@gmx.de> <464665D5.1090509@math.missouri.edu> <464676CC.2000203@math.missouri.edu> <46469BF5.9030603@math.missouri.edu> <1179058696.13237.3.camel@ikaros.oook.cz> <20070513101332.L82202@math.missouri.edu> <46479215.1080401@math.missouri.edu> <4647C4FB.9050607@math.missouri.edu> <4647F182.6000402@gmx.de> <46487491.6020806@math.missouri.edu> <46488168.3030300@math.missouri.edu> <464B155A.1080105@math.missouri.edu> <464B7144.2000600@math.missouri.edu> <1179353641.79329.11.camel@rnoland-ibm.acs.internap.com> <20070517114436.3fdd55b1@deskjail> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.864, required 8, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Subject: Re: Time to abandon recursive pulling of dependencies? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 May 2007 11:45:36 -0000 Quoting Alexander Leidinger (Thu, 17 May 2007 11:44:36 +0200): > For the difference between the redirected output case: I think the > gnome terminal needs a lot of time to print all the lines. But still, > the awk version takes around 3/4 of the time (interesting is the user > time, not the total time). Stephen's version can be speed up some > fractions by inserting a break into the first while-loop. > > Attached is my awk-version and the awk version which also includes the > direct dependencies. After a little review: For the awk version the embedded "sort -u" can be removed (it is done in the PKG_ARGS part), for Stephen's version it is necessary to cut down processing time in the following part. It seems the processing of the not installed dependencies has not to be done, as this target is only used in the PKG_ARGS part and is used in a way which evaluates the result at the time of the invocation of the pkg_create program (when the port is installed and all dependencies should reflect what is on disk). Bye, Alexander. -- A work project expands to fill the space available. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137