aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2013-03-31 12:27:51 -0700
committerAdam Vandenberg2013-03-31 12:27:51 -0700
commitf57ed5349ab60b0db24fe35f257ebf36a3f620e2 (patch)
tree471d24da02c13e3a340b3d0c03f95ee4069cd580 /Library
parent2bb956c68e7a5ada3484956ebc3c18e88793a7f0 (diff)
downloadhomebrew-f57ed5349ab60b0db24fe35f257ebf36a3f620e2.tar.bz2
rtorrent: include xmlrpc-c if specified, not if installed
Closes #18859.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/rtorrent.rb2
1 files changed, 1 insertions, 1 deletions
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`',