The MacOS.version? family of methods (other than "leopard?") are poorly
defined and lead to confusing code. Replace them in formulae with more
explicit comparisons.
"MacOS.version" is a special version object that can be compared to
numerics, symbols, and strings using the standard Ruby comparison
methods.
The old methods were moved to compat when the version comparison code
was merged, and they must remain there "forever", but they should not be
used in new code.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
It seems that the main GNU download site has issues in some places
outside the U.S., so we'll use the provided "ftpmirror.gnu.org" to pick
a nearby mirror.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Apparently we have to specify '--with-ssl=openssl', otherwise the
configure script tries to find GnuTLS and aborts if it isn't present.
But hey, we don't need that ugly patch anymore.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
wget will find and use libidn if it is present, which uses gettext.
This dependency was not captured in the wget formula.
To keep things simpler, the user must now opt-in to libdin by brewing
with "--enable-iri". Without this flag, we tell configure not to look
for libidn.
FixesHomebrew/homebrew#1105.
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.
Moved Forumla and Cellar/homebrew into Library.
This way the homebrew core files are more sensibly placed, Cellar is
more internally consistent and only generated. And Homebrew is ready for
use straight out of the tarball.