| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
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>
|
|
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>
|
|
We set defaults for C and C++, might as well do the same for Objective-C and
Objective-C++.
Closes Homebrew/homebrew#10354.
|
|
|
|
|
|
fixes a problem with the opencv formula
Closes Homebrew/homebrew#10291.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
|
|
|
|
The correct location for it IMO. Also added warning for the user.
|
|
Introducing MacOS.xctools_fucked?.
Refs Homebrew/homebrew#10293.
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
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>
|
|
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>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
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>
|
|
|
|
|
|
Fixes Homebrew/homebrew#10327.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
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>
|
|
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
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.
|
|
|
|
|
|
Some times a Pathname is passed in here
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
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.
|
|
Refs Homebrew/homebrew#10290.
|
|
|
|
Fixes Homebrew/homebrew#10245.
Fixes Homebrew/homebrew#10248.
|
|
We ask Spotlight to find Xcode and use that path, neat right?
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
Also fix undesired output if git isn't installed.
Refs Homebrew/homebrew#10244.
|
|
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.
|
|
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>
|
|
Dumb logic error. Also same one in MacOS.compiler. Am I getting old?
Also it returns a string and not a float.
|
|
This prevents what are likely a whole slew of bugs.
|
|
Fixes Homebrew/homebrew#9179.
|
|
|
|
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.
|