From owner-freebsd-ports@FreeBSD.ORG Tue Jun 10 18:13:09 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2039D106567B; Tue, 10 Jun 2008 18:13:09 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6F9688FC19; Tue, 10 Jun 2008 18:13:08 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <484EC434.8040401@FreeBSD.org> Date: Tue, 10 Jun 2008 20:13:08 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: Pietro Cerutti References: <484EAFAC.3020208@FreeBSD.org> <484EB115.5090802@FreeBSD.org> <484EB203.80202@FreeBSD.org> In-Reply-To: <484EB203.80202@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd ports Subject: Re: INDEX build optimizations - please review 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: Tue, 10 Jun 2008 18:13:09 -0000 Pietro Cerutti wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Pietro Cerutti wrote: > | Kris Kennaway wrote: > | > | | Another important optimization is to use /rescue/sh instead of /bin/sh > | | for index builds. The former is statically linked and this is much > | | faster to execute. > | > | True, but the for is not even guaranteed to exist (WITHOUT_RESCUE in > | src.conf or similar). > > "the for"??? err... "the file" I meant.. Yeah, I forgot to add a check for that. Kris