aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mupdf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/mupdf.rb b/Library/Formula/mupdf.rb
index a574fad5e..360f7b3f9 100644
--- a/Library/Formula/mupdf.rb
+++ b/Library/Formula/mupdf.rb
@@ -40,7 +40,7 @@ class Mupdf < Formula
openjpeg = Formula.factory 'openjpeg'
ENV.append 'CPPFLAGS', "-I#{Dir[openjpeg.include/'openjpeg-*'].first}"
ENV.append 'CFLAGS', '-DNDEBUG'
- ENV['SYS_FREETYPE_INC'] = MacOS.x11_prefix/'include'/'freetype2'
+ ENV['SYS_FREETYPE_INC'] = "-I#{MacOS::X11.include}/freetype2"
system "make", "install", "prefix=#{prefix}"
end