From c368ae023f70aec4d644cf6ffe2c971ac85dc7f0 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 19 Aug 2014 17:14:02 -0500 Subject: Move conditional fails_with annotations to spec blocks --- Library/Formula/ncmpcpp.rb | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'Library/Formula/ncmpcpp.rb') diff --git a/Library/Formula/ncmpcpp.rb b/Library/Formula/ncmpcpp.rb index 5c56a98d9..f442858b2 100644 --- a/Library/Formula/ncmpcpp.rb +++ b/Library/Formula/ncmpcpp.rb @@ -2,8 +2,15 @@ require 'formula' class Ncmpcpp < Formula homepage 'http://ncmpcpp.rybczak.net/' - url 'http://ncmpcpp.rybczak.net/stable/ncmpcpp-0.5.10.tar.bz2' - sha1 '5e34733e7fbaf2862f04fdf8af8195ce860a9014' + + stable do + url 'http://ncmpcpp.rybczak.net/stable/ncmpcpp-0.5.10.tar.bz2' + sha1 '5e34733e7fbaf2862f04fdf8af8195ce860a9014' + + fails_with :clang do + cause "'itsTempString' is a private member of 'NCurses::basic_buffer'" + end + end head do url 'git://repo.or.cz/ncmpcpp.git' @@ -20,10 +27,6 @@ class Ncmpcpp < Formula depends_on 'libmpdclient' depends_on 'fftw' if build.include? "visualizer" - fails_with :clang do - cause "'itsTempString' is a private member of 'NCurses::basic_buffer'" - end if build.stable? - option 'outputs', 'Compile with mpd outputs control' option 'visualizer', 'Compile with built-in visualizer' option 'clock', 'Compile with optional clock tab' -- cgit v1.2.3