[CFT] add a config.site cache for the ports

Bryan Drewery bdrewery at FreeBSD.org
Sat Mar 23 15:18:23 UTC 2013


On 3/18/2013 12:41 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?
> 
> regards,
> Bapt
> 

This will be great.

I've added it to my jails for testing too.

Bryan


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130323/8a67d0ee/attachment.sig>


More information about the freebsd-ports mailing list