aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2014-05-23 11:08:40 -0700
committerAdam Vandenberg2014-05-23 11:34:14 -0700
commitebc0f71632e98f171e3e123b9bfd3840c52d8a7b (patch)
treea79b7731d114519d8bcd3bc187895ac82381e557 /Library/Formula
parent29bd840bea4feb0a283e09ded97739b3d05172e0 (diff)
downloadhomebrew-ebc0f71632e98f171e3e123b9bfd3840c52d8a7b.tar.bz2
rtorrent: fails with clang
See https://github.com/Homebrew/homebrew/issues/24132.
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