mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 11:29:53 -05:00
Liblastfm-0.3.3 fails to compile with clang. Add a `fails_with :clang` block. Add the upstream bug report in the comments. Fixes #12886 Signed-off-by: Adam Vandenberg <flangy@gmail.com>
24 lines
583 B
Ruby
24 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
|