libtorrent: fails with clang
Closes Homebrew/homebrew#11252. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
45487261d9
commit
fe8af7b930
1 changed files with 12 additions and 2 deletions
|
@ -1,15 +1,25 @@
|
||||||
require 'formula'
|
require 'formula'
|
||||||
|
|
||||||
class Libtorrent < Formula
|
class Libtorrent < Formula
|
||||||
url 'http://libtorrent.rakshasa.no/downloads/libtorrent-0.12.9.tar.gz'
|
|
||||||
homepage 'http://libtorrent.rakshasa.no/'
|
homepage 'http://libtorrent.rakshasa.no/'
|
||||||
|
url 'http://libtorrent.rakshasa.no/downloads/libtorrent-0.12.9.tar.gz'
|
||||||
md5 'b128bbd324f03eb42ef5060080f87548'
|
md5 'b128bbd324f03eb42ef5060080f87548'
|
||||||
|
|
||||||
depends_on 'pkg-config' => :build
|
depends_on 'pkg-config' => :build
|
||||||
depends_on 'libsigc++'
|
depends_on 'libsigc++'
|
||||||
|
|
||||||
|
# Upstream says this is fixed in 0.13.x series, so check if this is
|
||||||
|
# still needed when the next stable libtorrent release is made.
|
||||||
|
fails_with :clang do
|
||||||
|
build 318
|
||||||
|
end
|
||||||
|
|
||||||
def install
|
def install
|
||||||
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--with-kqueue", "--enable-ipv6"
|
system "./configure", "--prefix=#{prefix}",
|
||||||
|
"--disable-debug",
|
||||||
|
"--disable-dependency-tracking",
|
||||||
|
"--with-kqueue",
|
||||||
|
"--enable-ipv6"
|
||||||
system "make"
|
system "make"
|
||||||
system "make install"
|
system "make install"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue