Replaced ENV.gcc_4_2 + comments with calls to "fails_with_llvm",
to specifically message to the user when a formula is known or suspected
to not build with LLVM. If the user specifies "--use-llvm", the message
will be displayed, but compilation will be tried anyway.
Since using LLVM is now an advanced/hidden feature instead of the
default on 10.6, we'll let the user try anyway (and submit patches
if things are now working.)
Erland has an official GitHub repository. Cloning this repository is
faster than downloading the official tarball, so we (ab)use head to
allow for this alternate download:
brew install erlang --HEAD
FixesHomebrew/homebrew#1179.
Update Erlang/OTP to R13B04 release and in the process drop amd64
and HiPE patches. Geoff Cant provided patches inspired by the
macports diffs and these are now included upstream.
I've also dropped the wxMac patches as (1) wx is not built but
SKIPped and (2) the last time I tried on 10.6 it worked without any
patches. That was of course in 32-bit mode only as the wxMac bundled
with 10.6 is exclusively 32-bit. The not-yet-stable wxMac 2.9 branch
has 64-bit support but it's not tested with wxErlang, yet.
Signed-off-by: Tuncer Ayaz <tuncer.ayaz@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.
We don't want beta libs and Erlang doesn't need it.
Also disabled installation of erlang docs as we just delete them, we need to make the delete step optional.
Thou shall not bump a packaging system's erlang version before it's released
even though you love to live on the edge.
Signed-off-by: Max Howell <max@methylblue.com>
Agreed, Homebrew sticks to stable releases in the main url, the @head url is used for cutting edge.
Is it a DSL? No. But people call it that apparently.
To add a dependency:
class Doe <Formula
depends_on 'ray'
depends_on 'mee' => :optional
depends_on 'far' => :recommended
depends_on Sew.new
end
Sew would be a formula you have defined in this Formula file. This is useful,
eg. see Python's formula. Formula specified in this fashion cannot be linked
into the HOMEBREW_PREFIX, they are considered private libraries. This allows
you to create custom installations that are very specific to your formula.
More features to come, like specifying versions
Updated erlang with changes to brewkit
Added deps.
Crypto still broke.
Signed-off-by: Max Howell <max@methylblue.com>
I removed the flag to make manpages optional as the Homebrew default is to
install manapges.