aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorTianyi Cui2010-09-25 07:19:22 +0800
committerAdam Vandenberg2010-09-25 09:40:48 -0700
commitdec47763ca47114c73ad04b02e2bfb1c1f3faf94 (patch)
treeef2bbd2b453f5e6ce212827404e35bf95509f378 /Library
parent3b63c85213df0476c9ccf65282cf45ac77cdac01 (diff)
downloadhomebrew-dec47763ca47114c73ad04b02e2bfb1c1f3faf94.tar.bz2
ftgl: make it buildable when doxygen is installed
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
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",