Also don't use HOMEBREW_PREFIX/bin, assume we're in the PATH, as it's most likely true, and if not, the guy has other problems or knows what he is doing.
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.
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
Copy the mysql way of doing things in so far as using a plist file avoiding
any need for root or other users and advising creating the database under
/usr/local/var
Adding user creation commands, and adding note about aliasing commands.
Formula working nicely now :-D
Adding note about postgres gem to avoid conflicts (took me a while to figure
out)
Signed-off-by: Max Howell <max@methylblue.com>
I amended it slightly from the original patch: f91a542e8f07323bca00da3de4eee7060e8122a7
FixesHomebrew/homebrew#38
With most options enabled (why not?).
Could use cleanup perhaps, but it works...
Note that this does not work due to some library loading issues… when I run
initdb I get a big fail which I have yet to track down.
Signed-off-by: Max Howell <max@methylblue.com>