aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2011-09-01Actually obey --use-gcc flagMax Howell
Schoolboy error.
2011-09-01fix: svn update doesn't take url argumentDave Bayer
`svn up` doesn't take url argument; compare `svn help up` to `svn help checkout` Apparently `svn up` can ignore this argument (not documented), but providing this argument could confuse code readers into believing that changing the url will switch the branch. It doesn't; the argument is ignored. This fix was relayed to me, but I've studied it further before posting. It is related to the bug where --HEAD installs reuse the wrong cache. Reading the former code, one might hope that providing a changed URL would have `svn up` change branches. It doesn't; the url was ignored. Closes Homebrew/homebrew#7159. Signed-off-by: Max Howell <max@methylblue.com>
2011-09-01Fixes Homebrew/homebrew#7114; Cache confuses --HEAD and non--HEAD svn installsDave Bayer
Signed-off-by: Max Howell <max@methylblue.com>
2011-09-01Be future proof, output from file becomes more verboseMax Howell
New versions of file return `script, ASCII text executable`. Apple may ship the newer version with 10.8 so we may as well be ready for it.
2011-09-01Use fullpaths to file and stripMax Howell
Fixes Homebrew/homebrew#7353.
2011-09-01Allow fails_with_llvm {}Max Howell
And fix node and ruby to use LLVM without complaint with Xcode 4.1 and Lion.
2011-09-01cp CMakeCaches.txt not CMakeLists.txtMax Howell
CMakeLists.txt is the build instructions not the build logs. The cache is not much better, but there is no equivalent of config.log, so…
2011-09-01Allow brew install --force againMax Howell
2011-09-01Restore previous fails_with_llvm? behaviourMax Howell
I've not been very careful lately, I apologise. Fixes Homebrew/homebrew#7338.
2011-08-31Fix type checking in fails_with_llvmRory O'Connell
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-31fix brew update treating command changes as deletionsMisty De Meo
`brew update` was treating all changes to internal commands as deletions due to a typo, resulting in spurious notifications of removed commands. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-08-31update: make `git pull` update origin/masterJack Nagel
Specify the refspec 'refs/heads/master:refs/remotes/origin/master' so that the remote-tracking branch origin/master gets update during `brew update` (git-pull updates remote-tracking branches when invoked like `git pull` or `git pull origin`, but not `git pull origin master`). Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-08-31Missing end. Doing too many things at once. Sorry.Max Howell
2011-08-31cp over CMakeLists.txt if cmake builds failMax Howell
The self help text does not mention the log, but we can add this later, and for now at least the file is salvaged. Closes Homebrew/homebrew#5940.
2011-08-31Default to LLVM for Xcodes that default to LLVMMax Howell
2011-08-31Don't fail to build with llvm if llvm build is newerMax Howell
2011-08-31Don't point user at issues that are probably unrelatedMax Howell
2011-08-31Improved no-errors outputMax Howell
2011-08-31Only report PATH order diagnosis if conflicts are foundMax Howell
Rationale: brew doctor shouldn't give warnings for a default install. And this particular warning only applies for a small subset of formula: the ones that are "dupes". If we get reported issues that prove this was a mistake we will revert it.
2011-08-31Check for missing deps as part of `brew doctor`Max Howell
2011-08-31Save config.log to ~/Library/Logs/HomebrewMax Howell
Also tidied error output. Still could be tidied quite a lot but I am still considering how best to go about it.
2011-08-31Blacklist lzma since it was removedMax Howell
Now when people search for it or try to install it they will receive a helpful message.
2011-08-31Fix Xcode 4.2 cc compilesEugene Ray
It seems like latest build of Xcode 4.2 doesn't create "-4.2" links in /usr/bin. Because of this recipes fail with "configure: error: C compiler cannot create executables" error. Closes Homebrew/homebrew#7254. Closes Homebrew/homebrew#7276. Signed-off-by: Max Howell <max@methylblue.com> Amended to work as intended, since /usr/bin/cc is actually since Xcode 4. Amended commit message. First line must be less than 72 characters! :P
2011-08-31fix version parser for upcoming erlang bottleJan Lehnardt
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2011-08-29formula.rb: Don't curl when DATA is the only patchCharlie Sharpsteen
Executing `curl(*patches)` was failing on Leopard when `patches` was an empty list. `git-bisect` identified 48552bb42a69ece4eb2a6d9acf81a0b47adb19c9 as the commit that caused this bug to surface by adding `--insecure` to the arg list on Leopard. This is odd because the following both exit with status 2: curl curl --insecure The only apparent difference is that `curl --insecure` prints "no URL specified!" to stderr along with the usage message. Also renamed `patches` to `external_patches` as it is more descriptive.
2011-08-29Fix alpha-order mistake in brew bash-completionJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-08-28Add `upgrade` to the bash-completion scriptJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-08-28Prune LinkedKegs tooMax Howell
2011-08-26brew-pull: Allow pull request numbers as argumentsCharlie Sharpsteen
If an integer is passed to `brew-pull`, such as `brew pull 6600`, it will be interpreted as a pull request number. This has the same effect as the more verbose command line: brew pull https://github.com/mxcl/homebrew/pull/6600
2011-08-26Correct typoMax Howell
2011-08-26`git reset --hard` after fetch; Fixes Homebrew/homebrew#7124Max Howell
I believe this fixes it though I confess I didn't test. The guy who opened this issue is the expert.
2011-08-26Apologies, forgot to amend the commitMax Howell
2011-08-26Only clone with a depth when targeting HEAD or a tag.Ben Burkert
Closes Homebrew/homebrew#7101. Signed-off-by: Max Howell <max@methylblue.com>
2011-08-26Some more sanity with ENV.compilerMax Howell
Deprecated use_clang? etc. since the logic was such that multiple states could be set, when in reality only one compiler can be set. Changed fails_with_llvm handling so if HOMEBREW_USE_LLVM is set then it tries to build even if the formula has fails_with_llvm set. Rationale: mostly they will no longer fail and we need to catch these cases.
2011-08-26Add ENV.clang; Fixes Homebrew/homebrew#6580Max Howell
Also tidied it up a little, reducing duplication as per original patch.
2011-08-26Use curl with --insecure when on OS X < 10.6Max Howell
The SSL certificates on this old version of OS X are outdated and who knows if Apple will fix them. Fixes Homebrew/homebrew#6103.
2011-08-26Feature new/removed internal commandsMax Howell
Removed updated external commands, like seriously, who cares? We could add it back as if --verbose is set I guess but in all honesty, if nobody complains then nobody cared. # We removed many redundant comments Removed many redundant comments. Fixes Homebrew/homebrew#7191; though it could be fixed better.
2011-08-26Fix `brew update` after new install for real this time?Max Howell
Fixes Homebrew/homebrew#7220.
2011-08-25Leopard: Eliminate moar `Array.count` from `brew upgrade`Charlie Sharpsteen
2011-08-25Document HOMEBREW_BUILD_FROM_SOURCEJack Nagel
Additionally, add '--build-from-source' to the bash-completion script.
2011-08-24Add `versions` command to the man pageJack Nagel
Additionally, document the '--build-from-source' option for the `install` command.
2011-08-25Only use the bottle if its version is up-to-dateMax Howell
Rationale: if you edit a formula to use a different source URL it should build that and not the pour the bottle. Obviously.
2011-08-25Output bottles to CWDMax Howell
Rationale: more typical.
2011-08-24Leopard: Fix undefined method `count` for `Array`Charlie Sharpsteen
Leopard runs Ruby 1.8.6 while Snow Leopard runs 1.8.7 and `Array.count` was not introduced until 1.8.7. Using `Array.length` instead.
2011-08-25`brew update` uses origin rather than full URLMax Howell
This is more flexible for forks and personal customisations, and also more useful for us collaborators since the origin HEAD will be kept up-to-date.
2011-08-25Force contributors to define a test by adding it to the create templateMax Howell
A little cheeky but it should help us to maintain higher quality.
2011-08-25-march=native doesn't work at all. Gee.Max Howell
Fixes Homebrew/homebrew#7185.
2011-08-25add arrandale to list of core2 CPUsChip Turner
2011-08-24ENV: allow a user-configurable number of make jobsJack Nagel
Let an environment variable, HOMEBREW_MAKE_JOBS, override the default '-j<cores>' make flag. Now we can more easily debug formula that normally build in parallel, or (potentially) speed up lengthy builds.
2011-08-24Don't include LinkedKegs or Aliases with `brew edit`Max Howell