aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
AgeCommit message (Collapse)Author
2012-03-01Faster and more legible `brew doctor`Max Howell
Please check for regressions. I was careful, but there was a lot of stuff. Closes #9409.
2012-03-01Piped `brew --env` outputs in a sourceable formatMax Howell
So you can source `brew --env` to make it easier to build your own software, etc.
2012-03-01Assist more in the template from `brew create`Max Howell
2012-03-01Show doctor error if xcode-select path is invalidMax Howell
Fixes #10598. Ideally we would show a message for builds that use xcodebuild etc. But there is no easy mechanism for this in place.
2012-02-29Some additional aid for `brew create`Max Howell
2012-02-29Play nice with case-sensitive filesystemsMax Howell
2012-02-28Revert "Writability for /usr/local is no longer required"Max Howell
This reverts commit 21acfc1c7e66babf112196812fdfcf442edf3a97. This was reverted because we tried to leave /usr/local with root permissions, but this caused problems for us. Sorry Rogue Amoeba. I'd suggest not installing your App's tools into /usr/local. It's outside your App's domain, so you can't be sure what will happen there.
2012-02-28audit: automake, autoconf, and libtool are build-time depsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-27Show real path to x11 in --config outputJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-27Autoconf, Automake and LibtoolMax Howell
We need these now for Xcode-4.3/CLT4X installations. Also prevent m4 error in installer. And prevent brew doctor complaining if we're Xcode 4.3 or above. Closes #10349. Fixes #10423. Refs #9179.
2012-02-24Replace UI uses of 'folder' with 'directory'Jack Nagel
There are still methods and variables with the word "folder" in the name, but at least user-facing messages and warnings should use the correct terminology. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-21audit: flag imake as a build depAdam Vandenberg
2012-02-21Fixes #10369; Doctor output is unreadable.Max Howell
2012-02-21Warn, don't advertise with a status headerMax Howell
2012-02-21Move this code into FormulaInstallerMax Howell
The correct location for it IMO. Also added warning for the user.
2012-02-21Don't hang if xcode-select -print-path is "/"Max Howell
Introducing MacOS.xctools_fucked?. Refs #10293.
2012-02-20upgrade: unlink relative to the correct kegJack Nagel
Calling Keg#unlink on "#{f.rack}/#{f.version}" will perform the unlink relative to the _new_ keg, rather than the keg we are upgrading from. Fix this by resolving the linked_keg entry and unlinking relative to it. Fixes #10296. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-20Be more verbose for the /usr/bin /usr/local/bin PATH doctorMax Howell
2012-02-19brew --env: fix path to xcrunJack Nagel
Fixes #10327. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-19don't quit if already installedAdam Vandenberg
2012-02-18test: returning false indicates failureJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-18audit: use a heredoc for this long lineJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-18audit: tighten xcodebuild SYMROOT checkJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-17fix download urlAdam Vandenberg
2012-02-18`brew doctor` whines at people to install CLI Tools for XcodeMax Howell
Refs #10290.
2012-02-17Find xcrun if user doesn't ever install Xcode 4.3 helper toolsMax Howell
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 #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 #8165. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-16Delete ENV[GREP_OPTIONS] and the related doctor checkMax Howell
Can break CMAKE builds.
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 #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-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-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 #10077. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
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 #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-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-02Show which Perl, Python and Ruby are in the path.Adam Vandenberg
2012-02-02doctor: remove gcc-4.2 warning on Xcode 4.2+Misty De Meo
Re: #9925, many others.
2012-02-01prune: remove info dir entries for pruned filesJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>