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 e85f8bcd7..504c32f05 100644
--- a/Library/Formula/mupdf.rb
+++ b/Library/Formula/mupdf.rb
@@ -13,7 +13,7 @@ class Mupdf < Formula
depends_on :x11 # libpng, freetype and the X11 libs
def install
- openjpeg = Formula.factory 'openjpeg'
+ openjpeg = Formula["openjpeg"]
ENV.append 'CPPFLAGS', "-I#{Dir[openjpeg.include/'openjpeg-*'].first}"
ENV.append 'CFLAGS', '-DNDEBUG'
ENV['SYS_FREETYPE_INC'] = "-I#{MacOS::X11.include}/freetype2"