Also fixes etc config.
The call to inreplace had an incorrect path. I tried correcting it
and leaving it as a post-make-install step, but it still did not work.
Moving the inreplace call did the trick.
Signed-off-by: Max Howell <max@methylblue.com>
The formula was committed as liboggz.rb, but the homepage is consistent in
calling it Oggz so I renamed the formula.
ClosesHomebrew/homebrew#85. ClosesHomebrew/homebrew#86.
Removing .la files is proving problematic in places. But oh well. Homebrew is
all about optimizing init?
Also only set ARCHFLAGS on non-Core Duo machines... though it seemed to build
fine even with it, it doenst make much sense to me... these changes are kind
of up for debate but it "works for me" this way...
ClosesHomebrew/homebrew#75
It's a lost cause trying to get 1.0beta3 compiling under Snow Leopard,
and the trunk already compiles 64-bit clean, so we might as well
use that.
Note that the DATA patch makes a few changes that are then rewritten
by inreplace. Why not patch clean and not run inreplace later? Because
I'm going to submit the patch back upstream, which should hopefully
allow us to drop it from the formula and only use inreplace to select
our build environment (native arch and framework for either 10.5 or 10.6)
I had to remove the THREADSAFE flag to make it work.
Couchdb seems the reason to use Spidermonkey at this point. Without these
changes Couchdb would crash hard when loading the Spidermonkey dylib.
If the threadsafety is required then we should look into making a keg-only
Spidermonkey for Couchdb's personal use.
The nspr dependency isn't documented as required, and doesn't seem to make a
difference if it is removed. So I removed it.
Parrot is a virtual machine designed to efficiently compile
and execute bytecode for dynamic languages. Parrot currently
hosts a variety of language implementations in various stages
of completion, including Tcl, Javascript, Ruby, Lua, Scheme,
PHP, Python, Perl 6, APL, and a .NET bytecode translator.
The parrot binary needs patching to find its library.
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.