mupdf: use Formula[]

master
Adam Vandenberg 2014-02-25 22:06:20 -08:00
parent 3311417987
commit b7788be48e
1 changed files with 1 additions and 1 deletions

View File

@ -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"