Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2013 15:17:48 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Baptiste Daroussin <bapt@freebsd.org>
Cc:        ports@freebsd.org, autotools@freebsd.org
Subject:   Re: [CFT] add a config.site cache for the ports
Message-ID:  <CAN6yY1u-M-CMsVhsLnV=KXBorbLr1PGvXzTEWUxJP1tzaArBxA@mail.gmail.com>
In-Reply-To: <20130318174150.GN72627@ithaqua.etoilebsd.net>
References:  <20130318174150.GN72627@ithaqua.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 18, 2013 at 10:41 AM, 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?
>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1u-M-CMsVhsLnV=KXBorbLr1PGvXzTEWUxJP1tzaArBxA>