| Age | Commit message (Collapse) | Author |
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
This allows installation like:
brew install http://example.com/something.rb
Based on an original patch by [dwalters].
Fixes Homebrew/homebrew#160
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Also, call this function from a few places where the code was duplicated.
|
|
|
|
|
|
|
|
|
|
|
|
Sphinx currently has a download name 'http://sphinxsearch.com/downloads/sphinx-1.10-beta.tar.gz', which homebrew currently can't correctly identify - with a small change to the regex for 'foobar-4.5.0-beta1' (make that trailing number optional) - it works like a charm.
Signed-off-by: David Höppner <0xffea@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
Fixes Homebrew/homebrew#2089
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
(This is needed for 10.5 support.)
|
|
|
|
|
|
|
|
optparse adds an "options" method to ARGV, and so does Homebrew.
Rename this method (and remove optparse blocking script) so that
Homebrew plays nicer with external Ruby software.
This fixes the issue where "gem install thin" would break
"brew server", for instance.
|
|
* This allows most brew commands to automatically accept aliases.
|
|
|
|
This allows both "--HEAD" and "-H" to be used consistently, which was the
intention in the first place.
|
|
|
|
* This method is generally useful, even without the Observer extensions.
|
|
|
|
|
|
* allow capital 'RC'
* allow 'stable' suffix
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
* Unshare code between ENV.llvm and ENV.setup_build_environment
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Different llvm binaries were used to check build numbers and to compile with.
Normalize this, and normalize the variable name used to hold the xcode location.
(Calling it "prefix" is confusing, since there are already concepts in Homebrew
called "prefx".)
|
|
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
into memory
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
The change to Pathname to support renaming changed the return value.
This commit puts it back, so the associated unit test passes again.
|
|
|
|
The keys of the hash are original file names, the values are new file
names. Originals are renamed, and then installed under the new name.
|
|
|
|
|
|
Also rearrange and alphabetise.
|
|
|
|
Fixes Homebrew/homebrew#807; Fixes Homebrew/homebrew#808
|
|
Justification:
* LLVM is too immature, it often fails to compile, sometimes irreproducibly
* The performance of the resulting bytecode is often slower than the GCC
equivalent (eg MySQL)
If you want to continue using LLVM you can. Set HOMEBREW_USE_LLVM or brew with
--use-llvm.
We also now use the default compiler for each platform. So GCC 4.2 on Snow and
GCC 4.0 on Leopard. This also means that new formula are more likely to just
work as many over complicated build systems get upset when you mix things up.
I also did a bunch more new research regarding compiler flags. We now set the
right -march for nehalem procs and don't add redundant flags like msse3 (which
is automatically applied for all the -march settings we use).
Reducing the number of cflags will improve the overall reliability of our
platform.
|
|
If you have a bunch of symlinks and they all point at one file and you use Pathname.install on them all the error checking would fail if the file was moved before the symlinks because the symlinks would then point at a non existent file.
|