From 0182c8205b67a76d64fcf4cd88510e3dac0dcbe9 Mon Sep 17 00:00:00 2001 From: Shaun Jackman Date: Fri, 19 Oct 2012 10:59:10 -0700 Subject: graphviz: Use freetype2 if X11 is installed Do not configure --without-freetype2 if X11 is installed. Closes #15583. Signed-off-by: Mike McQuaid --- Library/Formula/graphviz.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/graphviz.rb b/Library/Formula/graphviz.rb index c13f7d4df..b6c72dfd4 100644 --- a/Library/Formula/graphviz.rb +++ b/Library/Formula/graphviz.rb @@ -42,7 +42,7 @@ class Graphviz < Formula "--with-quartz"] args << "--disable-swig" unless build.include? 'with-bindings' args << "--without-pangocairo" unless build.include? 'with-pangocairo' - args << "--without-freetype2" unless build.include? 'with-freetype' + args << "--without-freetype2" unless build.include? 'with-freetype' or MacOS::X11.installed? args << "--without-x" unless build.include? 'with-x' or MacOS::X11.installed? system "./configure", *args -- cgit v1.2.3