From owner-freebsd-ports@FreeBSD.ORG Tue Mar 19 02:37:35 2013 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2C0FD70D; Tue, 19 Mar 2013 02:37:35 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3]) by mx1.freebsd.org (Postfix) with ESMTP id E8C0EB47; Tue, 19 Mar 2013 02:37:34 +0000 (UTC) Received: from mouf.net (www@mouf [199.48.129.64]) by mouf.net (8.14.5/8.14.5) with ESMTP id r2J2bMNL017506; Tue, 19 Mar 2013 02:37:27 GMT (envelope-from swills@FreeBSD.org) Received: from 98.122.135.254 (SquirrelMail authenticated user swills) by mouf.net with HTTP; Mon, 18 Mar 2013 22:37:27 -0400 Message-ID: <8ab5fa8badd042e815b4e3c2ce70b117.squirrel@mouf.net> In-Reply-To: References: <20130318174150.GN72627@ithaqua.etoilebsd.net> Date: Mon, 18 Mar 2013 22:37:27 -0400 Subject: Re: [CFT] add a config.site cache for the ports From: "Steve Wills" To: "Chris Rees" User-Agent: SquirrelMail/1.4.22 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mouf.net [199.48.129.64]); Tue, 19 Mar 2013 02:37:27 +0000 (UTC) X-Spam-Status: No, score=0.0 required=4.5 tests=none autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mouf.net X-Virus-Scanned: clamav-milter 0.97.6 at mouf.net X-Virus-Status: Clean Cc: ports@FreeBSD.org, Baptiste Daroussin , autotools@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Mar 2013 02:37:35 -0000 > On 18 Mar 2013 17:42, "Baptiste Daroussin" wrote: >> >> Hi, >> >> The autotools allows us to have a config.site cache where we define our > defaults >> values for a couple of things, and prevent the "slow" and possibly wrong >> autodetection. >> >> Here is a patch that makes use of it: >> http://people.freebsd.org/~bapt/autotools_config_site.diff >> >> As the libiconv/gettext update has shown the configure scripts can fall > back on >> gnu version of commands first if it find it, and in case gettext is > removed you >> can get trouble. >> >> In this config.site, I hardcoded a couple of FreeBSD binaries in order >> to > always >> use them, but I let the toolchain being autodetected. >> >> I also added a couple of headers to avoid useless checks and more can be > added >> in the futur. >> >> Any thought? > > This could save literally hours on package builds... > > Very exciting, thanks for this work! Agreed, I like this a lot and will be testing it. Steve