aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/rtorrent.rb11
1 files changed, 9 insertions, 2 deletions
diff --git a/Library/Formula/rtorrent.rb b/Library/Formula/rtorrent.rb
index fbac12dc7..7eb47930d 100644
--- a/Library/Formula/rtorrent.rb
+++ b/Library/Formula/rtorrent.rb
@@ -4,13 +4,20 @@ class Rtorrent < Formula
homepage "http://libtorrent.rakshasa.no/"
url "http://libtorrent.rakshasa.no/downloads/rtorrent-0.9.4.tar.gz"
sha1 "e997822e9b0d53cf8ecfb6b836e380065890e10d"
+ revision 1
depends_on "pkg-config" => :build
depends_on "libtorrent"
depends_on "xmlrpc-c" => :optional
+ # https://github.com/Homebrew/homebrew/issues/24132
+ fails_with :clang do
+ cause "Causes segfaults at startup/at random."
+ end
+
def install
- ENV.libstdcxx if ENV.compiler == :clang
+ # Commented out since we're now marked as failing with clang - adamv
+ # ENV.libstdcxx if ENV.compiler == :clang
args = ["--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"]
args << "--with-xmlrpc-c" if build.with? "xmlrpc-c"
@@ -22,6 +29,6 @@ class Rtorrent < Formula
end
system "./configure", *args
system "make"
- system "make install"
+ system "make", "install"
end
end