Commit Graph
22 Commits
Author SHA1 Message Date
Adam Vandenberg 0476235ce0 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Tianyi Cui 7871a99fe3 Use https for all GitHub URLs
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-18 20:14:27 -08:00
Adam Vandenberg 9bb7ca4861 fix audit issues 2010-11-09 07:45:09 -08:00
Adam Vandenberg fd70ad4901 curl 7.21.2 (OS X 10.5 comes with 7.16.3)
CouchDB requires at least 7.18.0.
2010-11-09 06:27:11 -08:00
Alexis Hildebrandt a065c8a4a1 Update Formula: spidermonkey
Fix dylib install_name

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-02 18:53:45 -07:00
Adam Vandenberg d0efd9ee94 Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00
Adam Vandenberg 2c6c855f13 Patch Spidermonkey to export 2 date functions used by MongoDB.
When compiling MongoDB from source, it relies on 2 date functions
which are not exported in the version of SpiderMonkey provided by Homebrew.
Homebrew itself uses binary MongoDB installs, but we include this patch
to allow manual compiles of MondoDB.
2010-07-01 09:44:27 -07:00
Adam Vandenberg 3575657169 Revert SpiderMonkey.
The latest 1.9.3x builds of SpiderMonkey are not compatible with CouchDB,
and presumably other software that depends on an older SpiderMonkey API.

Revert SpiderMonkey to the previous version, but update the version to
reflect what that revision actually is.
2010-06-25 14:49:30 -07:00
Adam Vandenberg 532fa48c5a Update spidermonkey to 1.9.3
* Use a stable tarball on Google Code instead of an hg revision
* Update to 1.9.3 to stop getting compile errors on 64-bit OS X
* autoconf 2.1.3 apparently no longer needed
2010-06-24 12:38:53 -07:00
Max Howell fbf398f361 Build disposable autoconf 213 for SpiderMonkey
Seeing as it's only SpiderMonkey that requires this specific version of Autoconf, lets not keep it around needlessly when it's also just a build dependency.
2010-02-23 15:40:02 +00:00
Paul J. Davis 26b760ba4f 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 3df5a58afe 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 571d853309 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 #95
2009-10-19 04:02:32 +01:00
Max Howell a82e823935 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 43fac25fde 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) e0345e0d4f This flag causes the make process to fail 2009-10-01 15:48:46 +01:00
Caleb Land 17c1eaaf2e 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 6a6e571929 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 4fe374dafd 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 1a0b95d28d Build spidermonkey with utf-8 support 2009-09-16 14:49:07 +01:00
Max Howell c8c2cb2dd3 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 32b213c43e 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