From 5ddd40b8449efc82b831ff62151d5012f6e05ac0 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 11 Mar 2013 22:54:15 -0500 Subject: Switch compilers when no build is specified 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. Closes #18175. --- Library/Formula/ncmpcpp.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'Library/Formula/ncmpcpp.rb') diff --git a/Library/Formula/ncmpcpp.rb b/Library/Formula/ncmpcpp.rb index df6004d5e..5249b68d0 100644 --- a/Library/Formula/ncmpcpp.rb +++ b/Library/Formula/ncmpcpp.rb @@ -11,7 +11,6 @@ class Ncmpcpp < Formula depends_on 'fftw' if build.include? "visualizer" fails_with :clang do - build 425 cause "'itsTempString' is a private member of 'NCurses::basic_buffer'" end -- cgit v1.2.3