From owner-freebsd-ports@FreeBSD.ORG Mon Mar 18 19:24:19 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 898F4996; Mon, 18 Mar 2013 19:24:19 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-ee0-f42.google.com (mail-ee0-f42.google.com [74.125.83.42]) by mx1.freebsd.org (Postfix) with ESMTP id E1040365; Mon, 18 Mar 2013 19:24:18 +0000 (UTC) Received: by mail-ee0-f42.google.com with SMTP id b47so2710531eek.1 for ; Mon, 18 Mar 2013 12:24:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=p+EJ41xqvpf5RM9JU/5CW0Wv/b9W+UZuiU2ucBu6lMg=; b=KPhgrcUxhsz/7sFOOjW/u6/yxtou9+dhoM0w4LnzYJB35f15T5FF/MrLa9deAZB03m TpRiUEZpICcqihk28dz1t9qqaeMkXBGrHkH6RGkr25bjxQCtL+buQR2YFyju6VOX05RC GouUo3VpBEnHHOEqAlxu93OyUhQw7scbcv6UhbPCkKDegjXOrH7qeQeJnMYakIyfyqar xwX0MJTiGXzKHBx2J9riccJUMW+0cms49kl9r7eWDsK6OGjMMaJx9Jx3LSlJZ00LjVvn ItyQFgRUaORTHfQvqzNdhCChX2BHX5bNBMlZ5CkbJPH37GJJdyqMWjhS0LSUb88Og+WE j82w== X-Received: by 10.14.111.72 with SMTP id v48mr52280774eeg.11.1363634651876; Mon, 18 Mar 2013 12:24:11 -0700 (PDT) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPS id q5sm28987696eeo.17.2013.03.18.12.24.10 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 18 Mar 2013 12:24:10 -0700 (PDT) Sender: Baptiste Daroussin Date: Mon, 18 Mar 2013 20:24:08 +0100 From: Baptiste Daroussin To: Jeremy Messenger Subject: Re: [CFT] add a config.site cache for the ports Message-ID: <20130318192408.GQ72627@ithaqua.etoilebsd.net> References: <20130318174150.GN72627@ithaqua.etoilebsd.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zywvytGCXzdVpkje" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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:24:19 -0000 --zywvytGCXzdVpkje Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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? >=20 > 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? >=20 > > 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. regards, Bapt --zywvytGCXzdVpkje Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlFHadgACgkQ8kTtMUmk6Eyg6ACeIpvVy3zdl5l1HTe7nGy0WutE 4MMAn1yBkzFJHfD8XHuAl43+DbEfQZcG =M1V2 -----END PGP SIGNATURE----- --zywvytGCXzdVpkje--