ftgl: make it buildable when doxygen is installed
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
36a56760c3
commit
d95a947973
1 changed files with 4 additions and 6 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue