| Age | Commit message (Collapse) | Author |
|
This reverts commit 6a8b3cc71feccbf73225bc7dc8c5e6972de9953d.
This was a bad merge on my part.
Fixes Homebrew/homebrew#221. Fixes Homebrew/homebrew#220.
|
|
|
|
|
|
|
|
Eg /usr/local/lib/juice/foo points somewhere else where the user has modules that he wants juice to use.
Basically don't error out for stuff that isn't ours.
|
|
|
|
I held off on this as I wasn't sure it made sense. Eg. if you install you'd expect it to install the same version as before? But with HEAD formula you always want the newest, that's the point. Otherwise it should be tagged/revisioned.
|
|
When cloning a mercurial repository from a tagged revision, that tag definition
isn't actually included. This causes `hg archive -r tag_name` to fail.
Instead, just clone the repository's head and the `hg archive -r revision` will
handle getting the correct revision to for the build
|
|
Fixes Homebrew/homebrew#204
|
|
Fixes Homebrew/homebrew#200. Fixes Homebrew/homebrew#202. Fixes Homebrew/homebrew#203.
|
|
Removed DEFAULT_USER, etc. constants, as code is clearer with actual values IMO, in this case.
|
|
|
|
|
|
|
|
* Only invoke git if --github was passed; speeds up brew info --all
* Use current branch for --github instead of master.
|
|
|
|
|
|
|
|
Bzr on PyPi is problematic for now.
|
|
This is necessary for those who installed Homebrew using the suggested tarball method.
Too late for them though.
|
|
|
|
Updated comments to match new default patch level from revision 4fe374d
|
|
|
|
|
|
Being able to commit parts of diffs can bite you if you aren't careful.
|
|
|
|
In the FFMPEG formula the revision number is represented as an integer,
this ends up as an argument to Kernel#exec and it doesn't really like
that. The fix is to cast all arguments to a string.
Fixes Homebrew/homebrew#171.
|
|
|
|
Fixes Homebrew/homebrew#136
|
|
-fomit-frame-pointer is included for any optimisation level above O2 (including Os)
Setting MACOS_DEPLOYMENT_TARGET is unecessary if you are just setting it the same as the OS X you are running.
|
|
Makes a big difference on OS X, you can still use the GUI and that.
|
|
This is what we did for gcc_4_2 after all.
|
|
This means our include directory is prioritised above all -I but after all other system directories. This is how it should be.
Also helps fix Homebrew/homebrew#113.
|
|
Thus mv, rm etc, functions are almost as handy as pure shell scripting, without issues related to spaces in filenames.
|
|
|
|
|
|
|
|
Where brew info will show the next-level-down dependencies, brew deps
will show all of the formulae that a given formula depends on.
|
|
* brew install will find an aliased formula
* aliases are searched against
* warn when creating a new formula that has an existing alias.
If Subversion has an alias "svn", then warn when the user tries to
create a new formula "svn". The formula can still be created, though
the user should make sure it's not a duplicate of the existing
aliased one.
Subversion and Objective-Caml formulas get some alises here, so we have
something to test against.
|
|
'uses' shows the formulas that depend on a formula given on the
command-line.
|
|
These methods could be static on Formula, but splitting them out makes
it clear to formular authors that these functions don't have anything
to do with writing new formulas.
|
|
|
|
|
|
|
|
|
|
The code in Keg.self.for path uses "path = path.parent.realpath" to walk
up subfolders looking for a Keg.
Because 'realpath' is in there, and the path is checked against
HOMEBREW_CELLAR, which may be a symlink, we need to do realpath-to-realpath
comparisons in Keg. Otherwise, we will hit equivalent but symlinked folders,
not see that they are the same, and walk all the way up to / and then
error out.
|
|
If an exception is thrown while parsing the formula file before the install.rb at_exit then it will be in $!. Marshal it back to the parent brew process.
|
|
|
|
Rather than showing a backtrace that says "couldn't find command blah". Admittedly it's possible that the error will be something else, but unlikely. And this is neater.
Ideally we'd push the bt through an error pipe like we do with install.rb. And I guess we'll do this eventually.
|
|
|