aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2012-04-03 16:51:50 -0500
committerJack Nagel2012-04-03 16:57:20 -0500
commitedd213cea45d9578042655be1891d30bb42a63e8 (patch)
tree42d1bd9b43d2a7142f41d42ca45caff7474ec74e /Library/Formula
parent95e9b86ba1a8679750116f4bddb47495cfe8ddd4 (diff)
downloadhomebrew-edd213cea45d9578042655be1891d30bb42a63e8.tar.bz2
libtorrent: fails with clang
Closes #11252. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libtorrent.rb14
1 files changed, 12 insertions, 2 deletions
diff --git a/Library/Formula/libtorrent.rb b/Library/Formula/libtorrent.rb
index 981090393..fdd8dcee2 100644
--- a/Library/Formula/libtorrent.rb
+++ b/Library/Formula/libtorrent.rb
@@ -1,15 +1,25 @@
require 'formula'
class Libtorrent < Formula
- url 'http://libtorrent.rakshasa.no/downloads/libtorrent-0.12.9.tar.gz'
homepage 'http://libtorrent.rakshasa.no/'
+ url 'http://libtorrent.rakshasa.no/downloads/libtorrent-0.12.9.tar.gz'
md5 'b128bbd324f03eb42ef5060080f87548'
depends_on 'pkg-config' => :build
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
- 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 install"
end