From owner-freebsd-ports@FreeBSD.ORG Sun May 13 08:44:45 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 C1F2316A403 for ; Sun, 13 May 2007 08:44:45 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 1319E13C458 for ; Sun, 13 May 2007 08:44:44 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 13 May 2007 08:44:43 -0000 Received: from nat-wh-1.rz.uni-karlsruhe.de (EHLO mobileKamikaze.norad) [129.13.72.169] by mail.gmx.net (mp032) with SMTP; 13 May 2007 10:44:43 +0200 X-Authenticated: #5465401 X-Provags-ID: V01U2FsdGVkX19gaXtqVohgZauRvGxnI5xln+EMWs07AZDei61vkx yfovSZ5MI5KUVv Message-ID: <4646CFE3.1020105@gmx.de> Date: Sun, 13 May 2007 10:44:19 +0200 From: "[LoN]Kamikaze" User-Agent: Thunderbird 2.0.0.0 (X11/20070506) MIME-Version: 1.0 To: Stephen Montgomery-Smith 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> <4646AC48.1010107@gmx.de> In-Reply-To: <4646AC48.1010107@gmx.de> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-ports@freebsd.org, Kris Kennaway 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: Sun, 13 May 2007 08:44:45 -0000 [LoN]Kamikaze wrote: > Stephen Montgomery-Smith wrote: >> OK chaps, this is what I came up with. So for example, if I do "make >> install" on /usr/ports/x11/xorg (having made all the dependencies), on >> my computer it turns the pkg_create from taking about 4 minutes to the >> blink of an eye. Now people need to figure out how to speed up the >> "make package-depends" in bsd.ports.mk, but that is beyond my abilities. > > I will give that a try, I've been experimenting with make a lot lately. Thank > you for your patch, the second attempt seems to work fine on my system. So far I've got a 20% performance increase, not really satisfying. The trouble is that for every dependency the whole bsd.port.mk and whatever else is pulled in by the dependency has to be parsed again. So the only way to make a significant improvement is to have a short bsd.port.mk.