From owner-freebsd-ports@FreeBSD.ORG Tue Mar 19 22:17:49 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 649F967E; Tue, 19 Mar 2013 22:17:49 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1B14DA11; Tue, 19 Mar 2013 22:17:48 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n12so1103245oag.41 for ; Tue, 19 Mar 2013 15:17:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=EIVWkgWaDc51Tkhru2BNIgawrD16Y+AdVt71NH/wSVg=; b=gFoaBJrid8xv829zuDxwdxyi3cDLtmKxzU8DvOVPnzCbAueFaXwCv1iThYwXvRPz17 S3MLFcUmuWy3y74gBw/9dHZj5pArGAwpoa/lfVgM/XvZMw+KgTJACLCU4/DlEQTViMrK q6+ZmwhJLxHC6la2p4yqYf9NGPHKZnsRiT75p8PXAdStGc8RHDLkuUvsca2dMzqTCWPf j3hDknTeb94kHan40KxIUn3RYZxFzZUu4uk3Zzk6PJlLx2lyB50l7sdlHBvcWUNuOk93 vG8zB6xaOB03vbrnIMD/Dq0kwv/zN3d2Y0vMUutZ8fvkwTaiHvxTIMR7x4wXkJ8H+w// CBTA== MIME-Version: 1.0 X-Received: by 10.60.142.10 with SMTP id rs10mr2771844oeb.20.1363731468320; Tue, 19 Mar 2013 15:17:48 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.76.11.165 with HTTP; Tue, 19 Mar 2013 15:17:48 -0700 (PDT) In-Reply-To: <20130318174150.GN72627@ithaqua.etoilebsd.net> References: <20130318174150.GN72627@ithaqua.etoilebsd.net> Date: Tue, 19 Mar 2013 15:17:48 -0700 X-Google-Sender-Auth: yx6-23VjvMivA4Zjp1tJ_9NcNEQ Message-ID: Subject: Re: [CFT] add a config.site cache for the ports From: Kevin Oberman To: Baptiste Daroussin Content-Type: text/plain; charset=UTF-8 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: Tue, 19 Mar 2013 22:17:49 -0000 On Mon, Mar 18, 2013 at 10:41 AM, 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? > If this can be made to work reliably with provisions for exceptions, this would be absolutely wonderful! -- R. Kevin Oberman, Network Engineer E-mail: rkoberman@gmail.com