From owner-freebsd-ports@FreeBSD.ORG Tue Mar 19 22:50:50 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 5C04AE37; Tue, 19 Mar 2013 22:50:50 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-ea0-x22d.google.com (mail-ea0-x22d.google.com [IPv6:2a00:1450:4013:c01::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 9C3B1B35; Tue, 19 Mar 2013 22:50:49 +0000 (UTC) Received: by mail-ea0-f173.google.com with SMTP id h14so479390eak.18 for ; Tue, 19 Mar 2013 15:50:48 -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=Ab2Rcs+X1NVri9Qa8gUGvkA3jmRNbMu3JbxwIMEe7q0=; b=U7GKv3dYjGf0ja/Jknv2kVG/fzO/yUMGSwV/nU0YKbjpf9402BtvR/VGRmsxFRnESA OzofpreRBz6xScAHRg//kf7+YGp7hKSLIxlYXSbO7J15NDCV575y1EdwWOIK36/SWOYu 6CqJVtF3gPHufGHS4CRt6Wc8Gk5iye+6bSOG2yb7OtoNfjYqg9n9Aivv9ZGFgbUK7rgH hhfsk26xyEN3Xf0dUfO5aMd3NvPq/jrtK5AKB2aHDJtwcKAVqwVAU7LGhmmgp5fBMo4M f5kneKdo93zMs2dYfGsg9czZKGgKtIFMLgVcG30CkW8YXnLXvUOSmze1i9rFLAnvOSEm IrJQ== X-Received: by 10.14.0.135 with SMTP id 7mr64726961eeb.5.1363733448749; Tue, 19 Mar 2013 15:50:48 -0700 (PDT) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPS id q5sm35794378eep.11.2013.03.19.15.50.46 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 19 Mar 2013 15:50:47 -0700 (PDT) Sender: Baptiste Daroussin Date: Tue, 19 Mar 2013 23:50:45 +0100 From: Baptiste Daroussin To: Kimmo Paasiala Subject: Re: [CFT] add a config.site cache for the ports Message-ID: <20130319225045.GE67352@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="wchHw8dVAp53YPj8" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: ports@freebsd.org, Kevin Oberman , 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:50:50 -0000 --wchHw8dVAp53YPj8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 20, 2013 at 12:22:03AM +0200, Kimmo Paasiala wrote: > On Wed, Mar 20, 2013 at 12:17 AM, Kevin Oberman wro= te: > > 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 wro= ng > >> 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, th= is > > would be absolutely wonderful! > > -- >=20 > Yes please. Patch has been updated to remove everything connected to the toolchain, and adding some more commands. Exp-run is on being run right now by miwi. If everything is ok and noone object this will be committed, on next tuesda= y. regards, Bapt --wchHw8dVAp53YPj8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlFI68UACgkQ8kTtMUmk6Ey4hACePtYLGqYK0+4xCp7CrG+7d8QL ZfMAn3wlRa7g9Dek6g9PJNaZNSjiHShq =IXi0 -----END PGP SIGNATURE----- --wchHw8dVAp53YPj8--