Commit graph

12 commits

Author SHA1 Message Date
Paul J. Davis
4bc540b4fa Make the build libmozjs threadsafe.
Needed to avoid a bug in OS X when a library was linked against
CoreFoundation without having it initialized in the main thread.

http://openradar.appspot.com/7209349
2010-01-24 13:38:51 +00:00
Ash Berlin
1887903494 bump spidermonkey to a recent revision
This gives us tracemonkey/JIT capable version. As the comment says, there are no proper releases
2009-12-04 18:03:26 +00:00
Caleb Land
5c5bd71426 Correctly set the -install_name of libjs.dylib
Remove the workaround for the wrong dylib ID from couchdb and set it correctly
at the source.

Fixes Homebrew/homebrew#95
2009-10-19 04:02:32 +01:00
Max Howell
61b2307139 s/require 'brewkit'/require 'formula'/g
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.
2009-10-15 16:48:03 +01:00
Max Howell
0650354383 Make Spidermonkey work with Couchdb
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.
2009-10-04 18:36:13 +01:00
(@ivanvc)
350f4bd2c5 This flag causes the make process to fail 2009-10-01 15:48:46 +01:00
Caleb Land
688c12c727 Fix Spidermonkey formula
The Spidermonkey makefiles hardcoded the compilers that are used. Which broke
when used with gcc 4.2 cflags.
2009-09-28 00:20:50 +01:00
Max Howell
a0759ae93a Use new depends_on syntax in all formula
Many formula were imported during the development of the dependency branch.
2009-09-21 19:00:13 +01:00
Max Howell
3b4dac6ddd Default to patch level 1
Having gone through our patches it's clear that p1 is more standard.

Also fixed a bug where returning DATA outside of an array would fail to patch.
2009-09-16 17:08:32 +01:00
Dane Jensen
d9d9f4c733 Build spidermonkey with utf-8 support 2009-09-16 14:49:07 +01:00
Max Howell
93b192046f Use __END__ patch rather than github gist
Also there was seemingly some bug where if you didn't read the pipe for the
patch commmand the exit status was non-zero.
2009-09-16 14:49:06 +01:00
Sean Wolfe
5fc51a6e1b Couchdb and dependency formulae
Signed-off-by: Max Howell <max@methylblue.com>

I squashed a number of commits here, and also replaced the use of nspr.prefix with HOMEBREW_PREFIX as in theory we are flexible with our requirement for dependencies, although with the limited build system that SpiderMonkey possesses this is difficult for us to achieve anyway…
2009-09-14 20:33:46 +01:00