If you install Homebrew somewhere that isn't /usr/local couchdb doesn't find its deps, so patch that.
See? Install to /usr/local!
FixesHomebrew/homebrew#180. ClosesHomebrew/homebrew#493.
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.
It appears as though Homebrew is aggressively removing empty
directories. I just created empty files to keep these alive so that
CouchDB would't choke on startup. I'm tired, otherwise I'd see if I
could use skip_clean? to skip removing the empty dirs.
Thanks to Kamal for fixing the initial log directory mixup.
Signed-Off-By: Adam Vandenberg <flangy@gmail.com>
Update Couchdb formula now that skip_clean? can test empty folders.
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…