aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2012-07-25Add MacOS::Xcode.provides_gcc?Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-25Use new Xcode moduleJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-25Add MacOS::Xcode.provides_autotools?Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-25Move Xcode and CLT modules to a new fileJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-25Split Xcode and CLT methods into separate modulesJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-25MacOS: avoid checking clt_version in clt_installed?Jack Nagel
Checking "not clt_version.empty?" is unnecessary if we are also checking that dev_tools_path is /usr/bin. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-25MacOS module cleanupsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-24doctor: be consistent in path adviceAdam Vandenberg
2012-07-24Revert 66a4ea1c80fa36fe348b3d5ad6d2f6c61cf21c05Misty De Meo
Refusing to unlink files from another keg introduced issues when files changed between formula versions; for instance, this introduced issues when upgrading from gtk+ 2.24.10 to 2.24.11. See #12778.
2012-07-23doctor: check for DYLD_FALLBACK_LIBRARY_PATHAdam Vandenberg
2012-07-22corrected the macruby download linkSean Lee
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-07-22doctor: Skip outdated check when offlineMisty De Meo
Fixes #13535.
2012-07-22Keg#unlink: check destination before unlinkingMisty De Meo
Rather than skip unlinking if there's no linked keg record, check to see whether the destination's realpath is the same as the source file in the keg being unlinked.
2012-07-22Fix bottling keg-only brews.Mike McQuaid
2012-07-20Keg#unlink: Don't try to unlink if keg is unlinkedMisty De Meo
2012-07-20brew unlink: don't unlink an unlinked formulaMisty De Meo
This caused weird issues in the case that multiple formulae provide the same file.
2012-07-19MercurialDownloadStrategy: remove redundant chdirJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-19MercurialDownloadStrategy: check out subreposFelipe Navarro V
Closes #13495. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-17Fix typo in commentJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-17Coerce advice to a string in ChecksumMismatchErrorJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-17Formula: mirrors are always non-nilJack Nagel
Since 3ee9b7bd88a2d9017cdf005b10567a1d6d8ec211 ("SoftwareSpec: initialize @mirrors"), @active_spec.mirrors will always be non-nil. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-16Add Ivy Bridge CPU familyMisty De Meo
Fixes #13434.
2012-07-12Update Xcode checks for 10.8Misty De Meo
2012-07-12doctor: fix incorrect usage of 'or'Jack Nagel
Eventually I will stop making this mistake. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-11Fix brew link --dry-runMisty De Meo
The last make_relative_symlink was missing the mode argument, which caused spurious linking under certain circumstances.
2012-07-11use keg.linked?Adam Vandenberg
2012-07-10Add :bsdmake dependencyAdam Vandenberg
2012-07-10All symbols for autotools dependenciesAdam Vandenberg
The symbol versions of :autoconf, :automake and :libtool only activate for OS X / Xcode combinations that do not provide autotools.
2012-07-10Refactor dependencies in preparation for autotools symbol supportAdam Vandenberg
2012-07-09quiet_system: Dump to /dev/null instead of closingCharlie Sharpsteen
Some programs fail where they would otherwise succeed if stdout or stderr is closed. For example, using mpicc from the mpich2 formula: quiet_system 'mpicc', '--version' Fails with: LLVM ERROR: IO failure on output stream. While system 'mpicc', '--version' Succeeds. Closes #13253. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-07-09ARGV: add .dry_run? methodMisty De Meo
Add an ARGV.dry_run? helper method for '--dry-run'/'-n' now that '-n' is being used as a git-style dry-run in two commands. Closes #12898. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-07-09link: add --force and --dry-run optionsMisty De Meo
`brew link` can now be made to delete any conflicting files using the --force argument. It also has a --dry-run option, similar to git clean -n, which will list any files which would be deleted without touching the filesystem. Closes #11811. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-07-09ENV: remove -L from CFLAGS.samueljohn
SDK/usr/include and lib now appended instead of prepended. Prepending overwrote our precedence of HOMEBREW_PREFIX/include and lib. Closes #13292. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-07-09Add some commentsAdam Vandenberg
2012-07-08Restore some things to failed install config dumpJack Nagel
Closes #11091. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-08Display compiler build numbers in config dumpJack Nagel
But only display them if they are out of sync with the corresponding Xcode version. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-08Always output X11 version and path in config dumpJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-08fetch: remove dead codeJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-08Prevent error pipe object from being finalizedJeff Clites
When the first error pipe object is finalized, the underlying file descriptor is closed, breaking the pipe between the build script and the main Homebrew process. Keep a reference to this object so it isn't closed. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-07Remove `brew install foo --help`Adam Vandenberg
This command was undocumented, only for autotools, and it is enough to do `brew install foo -i` and then `./configure --help` in two steps.
2012-07-07doctor: update xcode chceckAdam Vandenberg
* 4.3.3 is the latest on 10.7 * Give up if we don't know what the latest is (10.8 and beyond)
2012-07-06DownloadStrategy: Detect classesMisty De Meo
2012-07-06Keg#unlink: skip find for non-extant filesMisty De Meo
In 1.8, Pathname.find would work (and do nothing) if the source path didn't exist. In 1.9 this throws an exception instead, so check whether the file exists before trying.
2012-07-05Stop stripping binary filesAdam Vandenberg
2012-07-05tests: expect that mirror lists are empty, not nilJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-05Decouple pathname from bottlesJack Nagel
Pathname is one of the basic building block classes in Homebrew, and as such it is preferrable that `require`ing it does not drag in other Homebrew code; thus avoiding circular dependency situations. Its dependency on bottles.rb gave it an implicit dependency on formula.rb, among other things. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-05Remove compat's implicit dependency on formulaJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-05Fix 'or' precedence errorsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-05SoftwareSpec: initialize @mirrorsMisty De Meo
Since methods were being called on it without verifying its type.
2012-07-04bottles: protect against a nil bottleJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>