aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mupdf.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-25 22:06:20 -0800
committerAdam Vandenberg2014-02-27 08:21:22 -0800
commitbfb5bd76372bd98adbcb6c85059dc406e7c7b7b3 (patch)
tree080a53e337d6193f0a7efb80ee6e815c7bad132a /Library/Formula/mupdf.rb
parent98b3dcd7d75efb4fa13ded294458c684f6ec4c75 (diff)
downloadhomebrew-bfb5bd76372bd98adbcb6c85059dc406e7c7b7b3.tar.bz2
mupdf: use Formula[]
Diffstat (limited to 'Library/Formula/mupdf.rb')
-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"