aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ftgl.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/Library/Formula/ftgl.rb b/Library/Formula/ftgl.rb
index 509d943bf..ca3f75581 100644
--- a/Library/Formula/ftgl.rb
+++ b/Library/Formula/ftgl.rb
@@ -8,14 +8,12 @@ class Ftgl <Formula
depends_on 'pkg-config'
def install
- if Formula.factory("doxygen").installed?
- puts "If doxygen is installed, the docs may still fail to build."
- puts "Try \"brew unlink doxygen\" before installing ftgl, and then"
- puts "use \"brew link doxygen\" afterwards to reactivate it."
- end
-
ENV.x11 # Put freetype-config in path
+ # If doxygen is installed, the docs may still fail to build.
+ # So we disable building docs.
+ inreplace "configure", "set dummy doxygen;", "set dummy no_doxygen;"
+
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-freetypetest",