aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
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-27Remove some whitespace hereAdam Vandenberg
2012-02-27Set ACLOCAL_PATH so that things workMax Howell
This should mean all those formula that pass options to aclocal don't need to anymore, but I'm not risking changing them.
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 Homebrew/homebrew#10349. Fixes Homebrew/homebrew#10423. Refs Homebrew/homebrew#9179.
2012-02-26audit: check sbin tooAdam Vandenberg
Apply the 'bin' audit to 'sbin' too, and also complain if subfolders are installed to either.
2012-02-26Fix IO redirection in ENV.xcrunJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-26Make xcode_version work with CLI4.3XMax Howell
Closes Homebrew/homebrew#10460.
2012-02-25List offending jar files when installed to libAdam Vandenberg
2012-02-25inreplace: also warn on plain gsub! usageAdam Vandenberg
2012-02-25inreplace: warn if no substitutions were madeJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-25Only call patches onceAdam Vandenberg
2012-02-25Add "require hardware" to formula.rbAdam Vandenberg
Now individual formulae don't need to require this if they want to use Hardware methods outside of `def install`.
2012-02-25Add more external dep optionsSecond Planet
* Chicken Scheme * Node.js * Rubinius Closes Homebrew/homebrew#8466. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-25brew-pull should build bottles.Mike McQuaid
2012-02-24Add `buildpath` to FormulaAdam Vandenberg
2012-02-24Introduce block form of mkdirAdam Vandenberg
2012-02-24man page: s/folder/directory/gJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
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-24Formula#system: sanitize args before execJack Nagel
This prevents passing nested arrays to exec; the same thing is done in safe_system. Fixes Homebrew/homebrew#10295. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-21ENV.rb: Set flags for Objective-CCharlie Sharpsteen
We set defaults for C and C++, might as well do the same for Objective-C and Objective-C++. Closes Homebrew/homebrew#10354.
2012-02-21Yield to the inevitableAdam Vandenberg
2012-02-21audit: flag imake as a build depAdam Vandenberg
2012-02-21Make fix_install_names more robustCamillo Lugaresi
fixes a problem with the opencv formula Closes Homebrew/homebrew#10291. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-21Fixes Homebrew/homebrew#10369; Doctor output is unreadable.Max Howell
2012-02-21Convert to Pathname if not Pathname as we need it to beMax 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 Homebrew/homebrew#10293.
2012-02-21Remove -Qunused-arguments in ENV.enable_warningsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-21Remove unused :force switchesJack Nagel
The :force behavior for ENV.gcc has been the default for some time, and was used to force vanilla gcc in case the gcc symlink pointed at llvm-gcc; for ENV.clang, this doesn't mattera as clang is just clang. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-21Silence unused argument warnings from clangJack Nagel
The clang frontend ignores a number of options that are accepted by gcc and llvm-gcc. However, it produces a warning for each unused argument at each invocation, which can result in many lines of noise, e.g. clang: warning: argument unused during compilation: '-rdynamic' Since these arguments do not affect compilation, let's just silence the warnings by passing '-Qunused-arguments' to clang by default. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-21ENV: clean up set_cpu_cflags a bitJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-20Complain about non-exes in bin and non-libs in libAdam Vandenberg
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 Homebrew/homebrew#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-20Don't hang if xcode-select is set to "/"Max Howell
2012-02-19brew --env: fix path to xcrunJack Nagel
Fixes Homebrew/homebrew#10327. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-19cleaner: remove lib/charset.alias filesJack Nagel
This file is installed by a number of packages, but it really shouldn't be. It is meant to be updated by packages that use it, but this is broken (1) by software that doesn't do this correctly and (2) by the symlink being overwritten by Homebrew's linking code. It's presence can cause issues with tools that use libiconv/gettext. Instead let's follow MacPorts' example and just remove it during the clean stage. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-19don't quit if already installedAdam Vandenberg
2012-02-19add ENV.O1Camillo Lugaresi
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
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-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.