From owner-freebsd-ports@FreeBSD.ORG Mon Mar 18 20:36:52 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3E507C76; Mon, 18 Mar 2013 20:36:52 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-ie0-x234.google.com (mail-ie0-x234.google.com [IPv6:2607:f8b0:4001:c03::234]) by mx1.freebsd.org (Postfix) with ESMTP id 0328C925; Mon, 18 Mar 2013 20:36:51 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id qd14so1741970ieb.11 for ; Mon, 18 Mar 2013 13:36:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=1R8vpSi3zGpY5OOKYtoq4wZ3RQPeEupF5t1lurKqV+E=; b=VBMC4dSg/JE/DG9ufmDywqnmGSW5aziChZJCjwH7jv6zxM8e8ZZ8QkbpmSB8PEeZt5 Tl0X0SKMx5xevzd3LniC7uO5cIM9idoQ6m42hLYundKMqcgutEQdhpslW3gr3+fVaKyn JBiqQY5BXpVCkU3GzBgCQDIx4FIMFvUu3eCW3tYUguJQ8VjHCzw1GKGzCUqOd/nzpbkJ H0TWgKbjSn7ACsD5iuUKZobSye9boA15byv35Hl0FzHAqVSrDZsWPsmOBeYlF956/rqZ raV21cdzWRaFttD4qKHKLSYMhjIIAk0EDUQCIMA+TdUaQAXUeNINsIHMygYh8m2rsLpH iSww== MIME-Version: 1.0 X-Received: by 10.50.53.180 with SMTP id c20mr229432igp.15.1363639011692; Mon, 18 Mar 2013 13:36:51 -0700 (PDT) Received: by 10.64.63.12 with HTTP; Mon, 18 Mar 2013 13:36:51 -0700 (PDT) Received: by 10.64.63.12 with HTTP; Mon, 18 Mar 2013 13:36:51 -0700 (PDT) In-Reply-To: <20130318174150.GN72627@ithaqua.etoilebsd.net> References: <20130318174150.GN72627@ithaqua.etoilebsd.net> Date: Mon, 18 Mar 2013 20:36:51 +0000 Message-ID: Subject: Re: [CFT] add a config.site cache for the ports From: Chris Rees To: Baptiste Daroussin Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: ports@freebsd.org, 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: Mon, 18 Mar 2013 20:36:52 -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! Chris