Given the current state of OS X compilers, the original fails_with
behavior is becoming less useful, mostly resulting in build failures
each time the compiler is updated. So make the following changes:
When a build is specified, we retain the old behavior: switch compilers
if the available compiler is <= the build, don't switch if it is > the
build.
When no build is specified, unconditionally switch compilers, and don't
output the advice message. This allows us to mark formulae as
perpetually failing, avoiding the need to update formulae each time a
new compiler build is made available.
As a bonus, this makes the logic much easier to reason about.
ClosesHomebrew/homebrew#18175.
brew install ncmpcpp was failing on a sha1 mismatch. It turns out the
link is dead or something and redirects to a new homepage. The new links
come from the page where the old ones were redirected to.
ClosesHomebrew/homebrew#14218.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
ncmpcpp has a build-time dep on pkg-config so that it can find
libmpdclient, and it needs the `fails_with` version updated
because it still has problems with clang.
Add a dep on pkg-config
Update the fails_with build.
Use the new options DSL.
Tested on ML with clang and llvm from XCode-4.4.1.
FixesHomebrew/homebrew#14160ClosesHomebrew/homebrew#14172.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Control over outputs is particularly useful -- when I'm listening to
my music remotely, I don't want it to also be playing on the home hifi.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>