Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2013 18:41:50 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports@FreeBSD.org, autotools@FreeBSD.org
Subject:   [CFT] add a config.site cache for the ports
Message-ID:  <20130318174150.GN72627@ithaqua.etoilebsd.net>

next in thread | raw e-mail | index | archive | help

--yK/6QRnH3Zanb0EF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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?

regards,
Bapt

--yK/6QRnH3Zanb0EF
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlFHUd4ACgkQ8kTtMUmk6EyHjQCeKt2ZXasSL1vpVb/RhYHOcZ3G
f5gAoIwY8KICJOq3HANxwihTveaiH09e
=dBRn
-----END PGP SIGNATURE-----

--yK/6QRnH3Zanb0EF--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130318174150.GN72627>