rtorrent: include xmlrpc-c if specified, not if installed
Closes Homebrew/homebrew#18859.
This commit is contained in:
parent
670587f57d
commit
b7eb01a911
1 changed files with 1 additions and 1 deletions
|
@ -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`',
|
||||
|
|
Loading…
Reference in a new issue