aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/graphviz.rb
diff options
context:
space:
mode:
authorShaun Jackman2012-10-19 10:59:10 -0700
committerMike McQuaid2012-10-21 19:52:32 +0100
commit0182c8205b67a76d64fcf4cd88510e3dac0dcbe9 (patch)
tree22a5ced32ba9019ed37179fa25617f4b283c3808 /Library/Formula/graphviz.rb
parent8b26224cd0181ae04a3052f011342cdf2c9223ce (diff)
downloadhomebrew-0182c8205b67a76d64fcf4cd88510e3dac0dcbe9.tar.bz2
graphviz: Use freetype2 if X11 is installed
Do not configure --without-freetype2 if X11 is installed. Closes #15583. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/graphviz.rb')
-rw-r--r--Library/Formula/graphviz.rb2
1 files changed, 1 insertions, 1 deletions
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