Commit Graph
921 Commits
Author SHA1 Message Date
Mislav Marohnić ad5c973a3f doctor: don't report wrong location of autoconf if it's missing
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-10 12:18:55 -07:00
Austin Seipp be1d490be5 sandybridge hardware identifier for brew --config
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-05 09:38:41 -07:00
Max Howell af3dec8361 Fix install names for keg-only brews too
Fixes #6065. Fixes #6218.
2011-07-04 09:31:48 +01:00
Max Howell 188ed78939 Fix install_name massaging for keg-only brews
Fixes #6065.

My pre-emptive fix that avoided calling Pathname.ensure_writable because I was not convinced it worked broke this function due to incorrect logic.

The lesson is, don’t write pre-emptive fixes. Wait until you've seen the bug first. All code has bugs in, so write less. I'm an idiot sometimes.
2011-06-28 17:28:37 +01:00
Adam Vandenberg e4d0fc5a20 formula.rb: put bottle attrs on separate line
This line is getting long, and having these on a separate line
will help with some rebasing in some work-in-progress branches.
2011-06-22 14:13:44 -07:00
Mike McQuaid ec041b1e0d Fix missing pourable? reference. 2011-06-22 18:00:45 +01:00
Mike McQuaid 3014739faa Build from source when we've options or 10.5. 2011-06-22 17:48:20 +01:00
Mike McQuaid 7b1f777905 Return an array from options. 2011-06-22 17:48:20 +01:00
Mike McQuaid 221442515f Renaming pouring method to pourable?. 2011-06-22 17:48:20 +01:00
Mike McQuaid cf1fee1fc8 Add stub options method. 2011-06-21 22:28:54 +01:00
Mike McQuaid 5f2e7aca87 Remove redeclared method. 2011-06-21 19:25:39 +01:00
Mike McQuaid b2e41ed95d Only pour bottles when not building from source. 2011-06-21 19:25:39 +01:00
Mike McQuaid 6c053e320f Fix bad pathname indentation. 2011-06-21 19:24:45 +01:00
Mike McQuaid 371818ffa9 Make bottle path. 2011-06-21 19:04:18 +01:00
Mike McQuaid 9c69c1bae3 Fix brew bottle versioning. 2011-06-21 19:04:17 +01:00
Adam Vandenberg 69f13cdd4f Move -- higher in argument list
A spurious "--" argument was being passed to the installer script.
2011-06-21 07:27:13 -07:00
Adam Vandenberg 2d8d8f3c6b Pathname: remove unused method starts_with? 2011-06-19 21:34:59 -07:00
Adam Vandenberg dbba2dfa41 brew-doctor: use String.start_with? 2011-06-19 21:32:54 -07:00
Adam Vandenberg 75760b24e7 back-port start_with? from 1.8.7
This allows its use in Leopard, which has Ruby 1.8.6.
2011-06-19 21:32:37 -07:00
Les Hill 166b199c6b doctor: check /usr/local for writablity
- Airfoil during the install of InstantOn changes /usr/local to
  root:wheel ownership

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-19 09:46:57 -07:00
Max Howell a6223736f9 Actually reset the permissions 2011-06-17 09:30:25 +01:00
Max Howell 508216ec2b Show summary headings when appropriate 2011-06-17 09:30:25 +01:00
Max Howell d5a7d18b1c Don’t output "nothing" messages
This is how we do it in general in Homebrew.
2011-06-17 09:30:25 +01:00
Max Howell 343ca84b8c Fix upgrading libdeps breaking stuff after cleanups
Fixes #2709.

By forcing dylibs to have an install_name id that is the HOMEBREW_PREFIX path, ie. the symlink’s path. Stuff that links to these dylibs will use this id and thus by immune to upgrades of underlying libraries.

Thus whatever keg is "current" ie. linked, will be the library that is used by the tool.

This fix is not retroactive. So there will still be breakage for existing installations of stuff.

The fix_install step in install is moved after the link step as the symlinking
is required to determine the eventual ids for each dylib.
2011-06-17 09:30:25 +01:00
Max Howell eb12255f83 Fix make_relative_symlink when names differ
Before we would always make the symlink itself have a basename the same as what it pointed to.

I don’t think this breaks any of the other usages as they were working by coincidence.
2011-06-17 09:30:25 +01:00
Adam Vandenberg 9d07b5ac84 Inclue HOMEBREW_USE_CLANG in --env output 2011-06-16 20:58:06 -07:00
Adam Vandenberg fb05f7f6c1 Make these methods on ENV. 2011-06-16 20:58:05 -07:00
Adam Vandenberg 950399ce61 Allow HOMEBREW_USE_CLANG env var 2011-06-16 20:58:05 -07:00
José Martínez 3da3f39a2f Allow --use-clang to override fails_with_llvm
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-16 20:45:56 -07:00
José Martínez 61cec92985 Add clang compiler option
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-16 20:45:52 -07:00
Adam Vandenberg 721a00e643 be more ruby-like 2011-06-16 20:35:09 -07:00
Adam Vandenberg 4c00eb6dcd audit: check for redundant 'version' 2011-06-16 20:31:55 -07:00
Jack Nagel d2330d6748 Fix brew-info when on branch master and github.user set
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-16 19:30:19 -07:00
Adam Vandenberg dc2b3937ef Fix issue checklist link 2011-06-16 15:40:12 -07:00
Adam Vandenberg 3720b6308d Style changes related to bottling. 2011-06-16 08:41:16 -07:00
Adam Vandenberg ea81950776 Allow underscore with these suffixes for version detection 2011-06-16 06:47:13 -07:00
Adam Vandenberg 10857e516f deps: document -n switch 2011-06-15 09:02:18 -07:00
Max Howell 57338d3c67 Don’t error out if the Cellar doesn’t yet exist 2011-06-15 13:04:06 +01:00
Max Howell 8bec9b18ef Fix first brew update with Git 1.7.4+; Fixes #5128
Behaviour for git checkout was changed such that the update would fail because it refused to checkout files on to existing files in the working directory.

This was bad behaviour anyway, we should make efforts to keep any local modifications to the Homebrew checkout. Everything is neatly resolved if we just do a --soft reset.

Closes #6017.
2011-06-15 13:02:48 +01:00
Mislav Marohnić cae8f9e21d refactor update command to use git diff instead of parsing pull output
This fixes reporting of which formulae changed in git versions where `pull`
output is not compatible.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-14 14:47:39 -07:00
Mislav Marohnić e0b21f50cd enable updater tests to be run on their own
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-14 14:47:33 -07:00
Adam Vandenberg 28f01142b2 brew audit: check for git://github.com/ urls and warn 2011-06-13 14:20:55 -07:00
Mike McQuaid e4dd52e9de Add changes to Homebrew internals for bottling. 2011-06-08 22:19:10 +01:00
Adam Vandenberg 58c82dfce2 Remove debugging puts 2011-06-08 11:34:01 -07:00
Adam Vandenberg 45cf37b28a Better support for brew install <url>
Brews installed via URL are now checked from the cache when
other commands are run. This allows for instance:

    brew install <vim-url>
    brew info vim
2011-06-08 11:13:50 -07:00
Dan Loewenherz 58bdd83245 Add HOMEBREW_CACHE to let the user specify a cache directory
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-07 13:38:15 -07:00
Adam Vandenberg c240eab0ee brew-doctor: do not complain about trailing slashes 2011-06-07 13:18:00 -07:00
Adam Vandenberg 3d1e533057 Reformat minimum Xcode check 2011-06-06 08:03:07 -07:00
Adam Vandenberg 1df08d33a8 brew audit: also check for spaces in Amazon formulae 2011-06-06 07:25:00 -07:00
Adam Vandenberg b19a2bdff6 Edit universal_binary comment 2011-06-05 08:07:17 -07:00