aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2012-02-18audit: tighten xcodebuild SYMROOT checkJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-17Update return values of install and install_symlinkAdam Vandenberg
These now return an Array of all the target destinations. Previously, if a single argument was passed a single non- Array was returned. This behavior has been changed so that an Array is always returned even for a single argument. Updated the test. Hopefully this won't break any custom code out there.
2012-02-17fix download urlAdam Vandenberg
2012-02-17This should be a regexAdam Vandenberg
2012-02-17cast `name` to stringLeFnord
Some times a Pathname is passed in here Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-18OTT handling for various Xcode-4.3/CLI-Tools edge casesMax Howell
Also xcrun can only exist at /usr/bin/xcrun. Most of these edges are non-buildable environments, but I didn't know that when writing it, so it may as well stay, since it still does make brew --env more correct.
2012-02-18`brew doctor` whines at people to install CLI Tools for XcodeMax Howell
Refs Homebrew/homebrew#10290.
2012-02-17Find xcrun if user doesn't ever install Xcode 4.3 helper toolsMax Howell
2012-02-17Fix some default_cc behaviorMax Howell
Fixes Homebrew/homebrew#10245. Fixes Homebrew/homebrew#10248.
2012-02-17Work with Xcode 4.3 if user didn't install helper toolsMax Howell
We ask Spotlight to find Xcode and use that path, neat right?
2012-02-16audit: warn about ARGV.include? '--devel'Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-16audit: make checksum warnings more clearJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-16audit: add problem countsAdam Vandenberg
2012-02-17Remove OSX-GCC from brew-doctorMax Howell
Also fix undesired output if git isn't installed. Refs Homebrew/homebrew#10244.
2012-02-16Use xcrun; Ensure clang is the default compiler with Xcode 4.3Max Howell
Using xcrun as a proxy to execute the compiler tools is per its design. This means you can't treat ENV['CC'] as a path anymore, but I think I found the cases this was being expected and corrected them. It was not proper anyway to assume the variable was a path, it can be anything. Like a proxy. Like xcrun. Also more thoroughly clear ENV.
2012-02-16Unset CLICOLOR_FORCE in the build environmentJack Nagel
If we're going to unset GREP_OPTIONS we may as well unset this one too, as it causes similar issues. Recent autoconf unset both of these. Fixes Homebrew/homebrew#8165. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-16Fix default_ccMax Howell
Dumb logic error. Also same one in MacOS.compiler. Am I getting old? Also it returns a string and not a float.
2012-02-16Add dev_tools_path to PATH if not in PATH alreadyMax Howell
This prevents what are likely a whole slew of bugs.
2012-02-16Find the dev tools, even with Xcode 4.3Max Howell
Fixes Homebrew/homebrew#9179.
2012-02-16Pre-refactor TidyMax Howell
2012-02-16Use -Os rather than -O3Max Howell
This was probably a stupid decision in the first place. Who wants lengthy compile times for debatable gain? Apple use Os in all Xcode projects, so I'm guessing its the best choice. Also I have long suspected the Image Magick performance issues Homebrew is supposedly susceptible to were because of O3.
2012-02-16Delete ENV[GREP_OPTIONS] and the related doctor checkMax Howell
Can break CMAKE builds.
2012-02-16Support Xcode 4.3 xcode-select being wrongMax Howell
I installed Xcode 4.3 and xcode-select is wrong, so this will fix it for most users.
2012-02-15audit: warn about correct empty checksum typeJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-15fetch: compare checksums case-insensitivelyJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-15audit: only look for empty checksums onceJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-15more stringent auditing of checksumsTrevor Wennblom
Closes Homebrew/homebrew#10213. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-13Boost-jam is now part of boost-buildJack Nagel
So remove it, and add/update the appropriate aliases. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-12ENV: fix typoJack Nagel
2012-02-12Pathname.install_symlinkAdam Vandenberg
2012-02-12Add ENV.cxxflagsJack Nagel
Useful when CXXFLAGS has diverged fom CFLAGS, e.g. via ENV.append, and also it is nice for CXX to have symmetry with CC. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-11Recognize dist suffixAdam Vandenberg
2012-02-10Remove LinkedKegs entry if we're writing the same oneJack Nagel
If a keg has been uninstalled via `rm -rf <keg>`, and a user tries to reinstall it without `brew unlink`ing it first, it will fail to link as the LinkedKegs entry still exists. This isn't desirable, and the user should be able to reinstall the same formula on top of the old, dead symlinks without problems, so let's just remove the LinkedKegs entry if it matches the one we are installing anyway. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-10Don't return nil from Formula#linked_kegJack Nagel
Doing so was the result of a quick hack to fix the "deps installed as upgrades don't get linked" bug, but it was a mistake. Instead, always return the LinkedKegs entry as a Pathname object, and let callers be responsible for checking that it exists. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-10Be gentle when stdout is not a ttyJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-10Pathname: silence install-info outputJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-10Revert "install: unlink old kegs"Jack Nagel
This reverts commit 2eabe2cbc84649696aeb6fa842a70f3794955597. When Keg#unlink looks for symlinks relative to the keg, it can hit false positives that actually belong to a different keg and unlink them anyway. This breaks our "force identical directory symlinks to be shared real directory" case. This may be a problem in general with the unlinking code and should be investigated. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-10install: unlink old kegsJack Nagel
If a formula makes it all the way to the actual install step, it is safe to unlink the keg before linking; this will prune dead symlinks in the case where a keg was removed with `rm -rf <keg>` but not unlinked with `brew unlink`. Fixes Homebrew/homebrew#10077. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-09Allow multiple arguments to installAdam Vandenberg
2012-02-09Split bottle logic.Mike McQuaid
Fixes Homebrew/homebrew#8805.
2012-02-08this was out of balanceAdam Vandenberg
2012-02-08Pathname: support .tar.Z extensionAdam Vandenberg
2012-02-08brew --config: properly handle empty `which` stringssamueljohn
Symptom: If no python/ruby/perl is in your path, then `which x`.chomp returns an empty string and `unless ""` is still true. So, N/A is never displayed. Instead, ruby's Pathname.new("").realpath returns the cwd. (I consider this realpath behavior a ruby bug) Fix: use empty? Closes Homebrew/homebrew#10027. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-08doctor: try to detect osx-gcc-installerJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-06create: homepage comes before url and checksumJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-04Split some classes to formula_supportAdam Vandenberg
formula.rb is getting big, let's start splitting things out.
2012-02-04Adjust ARGV testsJack Nagel
ARGV.kegs and ARGV.formulae no longer raise exceptions. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-04Warn the user of required argumentsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-03uses: do nothing if no argsAdam Vandenberg
2012-02-03don't complain if args are emptyAdam Vandenberg