From f57ed5349ab60b0db24fe35f257ebf36a3f620e2 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sun, 31 Mar 2013 12:27:51 -0700 Subject: rtorrent: include xmlrpc-c if specified, not if installed Closes #18859. --- Library/Formula/rtorrent.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/rtorrent.rb b/Library/Formula/rtorrent.rb index 62150e19e..f2bf356ad 100644 --- a/Library/Formula/rtorrent.rb +++ b/Library/Formula/rtorrent.rb @@ -12,7 +12,7 @@ class Rtorrent < Formula def install args = ["--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"] - args << "--with-xmlrpc-c" if Formula.factory("xmlrpc-c").installed? + args << "--with-xmlrpc-c" if build.with? "xmlrpc-c" if MacOS.version == :leopard inreplace 'configure' do |s| s.gsub! ' pkg_cv_libcurl_LIBS=`$PKG_CONFIG --libs "libcurl >= 7.15.4" 2>/dev/null`', -- cgit v1.2.3