aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2011-07-27Coerce flags to an array in `remove_make_var!`Trevor Wennblom
This is needed for Ruby 1.9.x compatibility, but we still don't support running Homebrew with anything other than a system provided 1.8.[67]. Fixes Homebrew/homebrew#6546 Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-27Add MacOS.lion? for MACOS_VERSION == 10.7Samuel Cochran
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-27Set origin remote URL when updating git clonesMax Howell
Thus the url we use can change. This only works provided the urls both contain git repos with the same blobs. But this should always be true.
2011-07-27Raise if mirror can’t be determinedMax Howell
Adjust mirror ohai slightly.
2011-07-27Detect Apache mirror system and parse out the closest mirror.Jan Lehnardt
All Apache Formulae should be updated to use the closer.vgi script to specify downloads rather than a random mirror that could be out of date or compromised. Apache's closer.cgi does periodic health checks. The base URL for the mirror system is http://www.apache.org/dyn/closer.cgi?path=#{filepath} e.g.: http://www.apache.org/dyn/closer.cgi?path=/couchdb/1.0.3/apache-couchdb-1.0.3.tar.gz Note: The addition of the "Actually downloading..." message is sub-optimal as the message should probably be emitted in _fetch() rather than fetch(), but I didn't want to change the way Homebrew works today, so I'm leaving this for mxcl & team to sort out or adopt :)
2011-07-26Fix brew doctor when no Xcode is detected.Adam Vandenberg
2011-07-25doctor: be more forgiving about GREP_OPTIONSJack Nagel
Currently, `brew doctor` complains about GREP_OPTIONS being set, regardless of its value. The cmake formula, for which this check was introduced, is more specific about what actually makes it fail. GREP_OPTIONS='--color=auto' will not cause the build to fail, so don't warn about this. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-22Fix typo in `brew doctor` commandBrant Bobby
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-21Retire check for GCC 4.0 under XCode 4.xCharlie Sharpsteen
XCode 4.x only includes GCC 4.2. Therefore, having `brew doctor` report that GCC 4.0 is missing only spreads fear, uncertainty and doubt over a situation that is status quo. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-21brew pull --install should build from source.Mike McQuaid
2011-07-10doctor: don't report wrong location of autoconf if it's missingMislav Marohnić
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-05sandybridge hardware identifier for brew --configAustin Seipp
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-04Fix install names for keg-only brews tooMax Howell
Fixes Homebrew/homebrew#6065. Fixes Homebrew/homebrew#6218.
2011-06-28Fix install_name massaging for keg-only brewsMax Howell
Fixes Homebrew/homebrew#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-22formula.rb: put bottle attrs on separate lineAdam Vandenberg
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-22Print SHA1 after bottling.Mike McQuaid
2011-06-22Fix missing pourable? reference.Mike McQuaid
2011-06-22Build from source when we've options or 10.5.Mike McQuaid
2011-06-22Return an array from options.Mike McQuaid
2011-06-22Renaming pouring method to pourable?.Mike McQuaid
2011-06-21Add stub options method.Mike McQuaid
2011-06-21Remove redeclared method.Mike McQuaid
2011-06-21Only pour bottles when not building from source.Mike McQuaid
2011-06-21Fix bad pathname indentation.Mike McQuaid
2011-06-21Make bottle path.Mike McQuaid
2011-06-21Fix brew bottle versioning.Mike McQuaid
2011-06-21Move -- higher in argument listAdam Vandenberg
A spurious "--" argument was being passed to the installer script.
2011-06-19brew-which: also check sbin and lib foldersAdam Vandenberg
2011-06-19Add `brew which` to man pageAdam Vandenberg
2011-06-19which: allow <formulae> argsAdam Vandenberg
Also clean-up this external command in preparation for becoming a built-in command. Make which_versions available in Homebrew module so that it can be used by other commands in the future.
2011-06-19Pathname: remove unused method starts_with?Adam Vandenberg
2011-06-19brew-doctor: use String.start_with?Adam Vandenberg
2011-06-19back-port start_with? from 1.8.7Adam Vandenberg
This allows its use in Leopard, which has Ruby 1.8.6.
2011-06-19doctor: check /usr/local for writablityLes Hill
- Airfoil during the install of InstantOn changes /usr/local to root:wheel ownership Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-17Actually reset the permissionsMax Howell
2011-06-17Show summary headings when appropriateMax Howell
2011-06-17Don’t output "nothing" messagesMax Howell
This is how we do it in general in Homebrew.
2011-06-17Fix upgrading libdeps breaking stuff after cleanupsMax Howell
Fixes Homebrew/homebrew#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-17Fix make_relative_symlink when names differMax Howell
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-16Add --use-clang to completion script.Adam Vandenberg
2011-06-16Add clang options to man page.Adam Vandenberg
2011-06-16Inclue HOMEBREW_USE_CLANG in --env outputAdam Vandenberg
2011-06-16Make these methods on ENV.Adam Vandenberg
2011-06-16Allow HOMEBREW_USE_CLANG env varAdam Vandenberg
2011-06-16Allow --use-clang to override fails_with_llvmJosé Martínez
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-16Add clang compiler optionJosé Martínez
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-16be more ruby-likeAdam Vandenberg
2011-06-16audit: check for redundant 'version'Adam Vandenberg
2011-06-16Fix brew-info when on branch master and github.user setJack Nagel
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-16Fix issue checklist linkAdam Vandenberg