homebrew-core/Formula/liblastfm.rb
nibbles 2bits 3d2691db0f liblastfm: add fails_with :clang
Liblastfm-0.3.3 fails to compile with clang.
Add a `fails_with :clang` block.
Add the upstream bug report in the comments.

Fixes Homebrew/homebrew#12886

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-22 22:01:35 -07:00

23 lines
583 B
Ruby

require 'formula'
class Liblastfm < Formula
homepage 'https://github.com/mxcl/liblastfm/'
url 'https://github.com/mxcl/liblastfm/tarball/0.3.3'
md5 'fe339bf46aefc515c251200d10262f79'
depends_on 'qt'
depends_on 'fftw'
depends_on 'libsamplerate'
# See issue #12886. Reported in: https://github.com/mxcl/liblastfm/issues/14
fails_with :clang do
build 318
cause 'error: reference to non-static member function must be called'
end
def install
system "./configure", "--release", "--prefix", prefix
system "make"
system "make install"
end
end