aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ftgl.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/ftgl.rb')
-rw-r--r--Library/Formula/ftgl.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/ftgl.rb b/Library/Formula/ftgl.rb
index 74e441922..7d048da4f 100644
--- a/Library/Formula/ftgl.rb
+++ b/Library/Formula/ftgl.rb
@@ -14,7 +14,10 @@ class Ftgl <Formula
puts "use \"brew link doxygen\" afterwards to reactivate it."
end
- ENV.x11 # Freetype
+ # Put freetype-config in path
+ ENV.x11
+ ENV.prepend 'PATH', "/usr/X11/bin", ":"
+
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-freetypetest",