Date: Mon, 18 Mar 2013 20:24:08 +0100 From: Baptiste Daroussin <bapt@freebsd.org> To: Jeremy Messenger <mezz.freebsd@gmail.com> Cc: ports@freebsd.org, autotools@freebsd.org Subject: Re: [CFT] add a config.site cache for the ports Message-ID: <20130318192408.GQ72627@ithaqua.etoilebsd.net> In-Reply-To: <CADLFttekfAFks3QDwGwK9ugth5pM21fiQeQ2d=8Zib5FKTL69Q@mail.gmail.com> References: <20130318174150.GN72627@ithaqua.etoilebsd.net> <CADLFttfLAy%2BY0=TwKG35hjjRsdS3H=3UiEzFmk1A71_BpWFGWQ@mail.gmail.com> <CADLFttekfAFks3QDwGwK9ugth5pM21fiQeQ2d=8Zib5FKTL69Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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" <bapt@freebsd.org> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130318192408.GQ72627>