From 150c9edd8fc8f8ce443cc5bb9fac7d943250fef7 Mon Sep 17 00:00:00 2001 From: Larry Shaffer Date: Mon, 10 Feb 2014 16:33:40 -0700 Subject: graphviz: define librsvg as optional Closes #26594. Signed-off-by: Mike McQuaid --- Library/Formula/graphviz.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/graphviz.rb b/Library/Formula/graphviz.rb index 550c63587..32639cac2 100644 --- a/Library/Formula/graphviz.rb +++ b/Library/Formula/graphviz.rb @@ -27,6 +27,7 @@ class Graphviz < Formula depends_on 'pango' if build.include? 'with-pangocairo' depends_on 'swig' if build.include? 'with-bindings' depends_on 'gts' => :optional + depends_on "librsvg" => :optional depends_on :freetype if build.include? 'with-freetype' or MacOS::X11.installed? depends_on :x11 if build.include? 'with-x' or MacOS::X11.installed? depends_on :xcode if build.include? 'with-app' @@ -53,6 +54,7 @@ class Graphviz < Formula args << "--without-pangocairo" unless build.include? 'with-pangocairo' args << "--without-freetype2" unless build.include? 'with-freetype' or MacOS::X11.installed? args << "--without-x" unless build.include? 'with-x' or MacOS::X11.installed? + args << "--without-rsvg" if build.without? "librsvg" system "./configure", *args system "make install" -- cgit v1.2.3