aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorIngmar Vanhassel2014-05-23 12:09:49 +0200
committerJack Nagel2014-05-23 10:10:06 -0500
commit379270137856ccc7b5637d42d34dd949222ee14d (patch)
tree25d2cbccb364dbf2c8569cf1de3a71a8a364cbe6 /Library/Formula
parent9c94fa5aa3b208ad625f6e4a069013e4ab583402 (diff)
downloadhomebrew-379270137856ccc7b5637d42d34dd949222ee14d.tar.bz2
rtorrent: 0.9.4 no longer uses libsigc++
Closes #29515. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/rtorrent.rb22
1 files changed, 0 insertions, 22 deletions
diff --git a/Library/Formula/rtorrent.rb b/Library/Formula/rtorrent.rb
index 29252ed3d..fbac12dc7 100644
--- a/Library/Formula/rtorrent.rb
+++ b/Library/Formula/rtorrent.rb
@@ -9,31 +9,9 @@ class Rtorrent < Formula
depends_on "libtorrent"
depends_on "xmlrpc-c" => :optional
- # rtorrent gets a private libsigc++ because libtorrent can only build
- # under libstdc++, but libsigc++ is too widely used for us to force it
- # to use libstdc++ globally.
- # This should be removed once libtorrent is fixed to work under libstdc++.
- # See https://github.com/mxcl/homebrew/issues/23483
- resource "libsigcxx" do
- url "http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.3/libsigc++-2.3.1.tar.xz"
- sha256 "67d05852b31fdb267c9fdcecd40b046a11aa54d884435e99e3c60dd20cd60393"
- end
-
def install
ENV.libstdcxx if ENV.compiler == :clang
- resource("libsigcxx").stage do
- system "./configure", "--prefix=#{libexec}/libsigcxx", "--disable-dependency-tracking"
- system "make"
- system "make check"
- system "make install"
- end
-
- # Skip pkg-config, which was having trouble looking into rtorrent's libexec
- ENV["sigc_CFLAGS"] = "-I#{libexec}/libsigcxx/include/sigc++-2.0 \
- -I#{libexec}/libsigcxx/lib/sigc++-2.0/include"
- ENV["sigc_LIBS"] = "-L#{libexec}/libsigcxx/lib -lsigc-2.0"
-
args = ["--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"]
args << "--with-xmlrpc-c" if build.with? "xmlrpc-c"
if MacOS.version <= :leopard