From owner-freebsd-ports@FreeBSD.ORG Mon Mar 18 19:15:57 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 C509E629; Mon, 18 Mar 2013 19:15:57 +0000 (UTC) (envelope-from mezz.freebsd@gmail.com) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx1.freebsd.org (Postfix) with ESMTP id 6537C2E9; Mon, 18 Mar 2013 19:15:57 +0000 (UTC) Received: by mail-vc0-f179.google.com with SMTP id gf12so3217054vcb.38 for ; Mon, 18 Mar 2013 12:15: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=mdSOOCNTzQwlQrXywzcbebHxALGfMdoZfWUy/0N/2/k=; b=PwDX7weDfPkf+e70MOXha6T49dqOjA9tR7NVZ9qs/q8sHg69sDiZ58F82NGFhS0onX HvYuStI+06x1vV749Kw+S9U1gxv0OX9v3hkFjTFbUHrXHKn8lI1u3yplJm5MuP0X5Kbs WEKntx3gGyGZFsHkfNuGJ1MfBfK8c0Adhn8syEL9OjOw3FfYQ4RN8zeZ3BvBUxPw0C9O ko/+HDRxlSEKPO4fnEt42gqI5Gg6QiKVtuQ/vst7DfWzdJXYmSsoRfW+YumxScJGSgT6 0lL03gXHdOMCU+ued+/7Wl4kJ+C11+ufbuG7xUAiZD5rMEmNEOPWR+7ZnmSM39fd/+4T 8HhA== MIME-Version: 1.0 X-Received: by 10.58.85.134 with SMTP id h6mr22055817vez.18.1363634151586; Mon, 18 Mar 2013 12:15:51 -0700 (PDT) Received: by 10.58.151.65 with HTTP; Mon, 18 Mar 2013 12:15:51 -0700 (PDT) Received: by 10.58.151.65 with HTTP; Mon, 18 Mar 2013 12:15:51 -0700 (PDT) In-Reply-To: References: <20130318174150.GN72627@ithaqua.etoilebsd.net> Date: Mon, 18 Mar 2013 14:15:51 -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:15:57 -0000 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