It's also necessary to delete LC_ALL or it overrides the new LANG.
LC_COLLATE is the problem variable but is affected by LANG and LC_ALL
so just use them instead. Extends the fix made to geoip in dc955c.
Fix#11728, fix#12890, fix#13653, fix#13734, fix#13787, fix#13818.
geoip-1.4.8 always calls a form of autoreconf after configure,
then reruns configure. This causes a build error on Lion when
it crafts a broken Makefile that is missing the rule to make the
target `../libGeoIP/libGeoIP.a`.
* Add deps on autoconf, automake, and libtool if XCode >= 4.3.
* Add a command to run `autoreconf -ivf` before configure, which
works on Lion and SL. Previously, the autoreconf on SL would
fail to work because it tries to use shell `--missing` versions.
Both the universal and native builds compile and pass make check
using all five compilers from XCode-4.3.2 and 4.0.2, on both Lion
and 64bit Snow Leopard.
Fixes#11402.
Closes#11405.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.