From owner-freebsd-ports@FreeBSD.ORG Mon Mar 18 19:35:51 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 175C4C89; Mon, 18 Mar 2013 19:35:51 +0000 (UTC) (envelope-from mezz.freebsd@gmail.com) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx1.freebsd.org (Postfix) with ESMTP id AAB54405; Mon, 18 Mar 2013 19:35:50 +0000 (UTC) Received: by mail-vc0-f173.google.com with SMTP id gd11so3260533vcb.4 for ; Mon, 18 Mar 2013 12:35:44 -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=pzGa/JZeSOdKrhj92NaC0zrwf93QMYQRZT5LZkimEq0=; b=Uh7EW9vPwAvOn3z/NfSsuUpE+DYiEIUsc10ADSs7Uv1nh/3LY8WKobdo8wCFYijUpJ spRZbZeMTRnmHA/TzjgBprb/HOGEP6qZd/tvOo4SyZQqqVvciX3YTOaI1dg6ZsKDhnRD 8EVdLziu+A1IgIFsSKRuxE8z5Gw23tCT6SgCXawfoBw7zL+lb9VoIqnCoOn7Nw5v6qt4 9AeCZe0P+lkNqoRClY/siU466a6Drfq2zHVpmClw0CnfN7YN3u/OKB3jxJOoHjkhCXrf GolsV/+S/jX+rvrPgllaA//Dc1Gc+hRaADUhopz9k8rsZgH6qfac7ZBfFmQ2NY11XRan VYqg== MIME-Version: 1.0 X-Received: by 10.52.65.73 with SMTP id v9mr18696576vds.30.1363635344090; Mon, 18 Mar 2013 12:35:44 -0700 (PDT) Received: by 10.58.151.65 with HTTP; Mon, 18 Mar 2013 12:35:43 -0700 (PDT) Received: by 10.58.151.65 with HTTP; Mon, 18 Mar 2013 12:35:43 -0700 (PDT) In-Reply-To: <20130318192408.GQ72627@ithaqua.etoilebsd.net> References: <20130318174150.GN72627@ithaqua.etoilebsd.net> <20130318192408.GQ72627@ithaqua.etoilebsd.net> Date: Mon, 18 Mar 2013 14:35:43 -0500 Message-ID: Subject: Re: [CFT] add a config.site cache for the ports From: Jeremy Messenger 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 19:35:51 -0000 On Mar 18, 2013 2:24 PM, "Baptiste Daroussin" wrote: > > On Mon, Mar 18, 2013 at 02:15:51PM -0500, Jeremy Messenger wrote: > > On Mar 18, 2013 12:42 PM, "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? > > > > There are some ports that need to use gnu tar, gnu sed, gnu grep and other > > gnu stuff. How will this cache affect on those ports? > > > > > regards, > > > Bapt > > We can always overwrite those in CONFIGURE_ENV if needed, and I'll run an > exp-run to make sure no ports requiring gsed, gtar etc fails. If it works very well then I think it sounds good. > regards, > Bapt