xpdf: use patch DSL

This commit is contained in:
Jack Nagel 2014-03-21 10:11:08 -05:00
parent ce9b5be40d
commit 7c24b23f6e

View file

@ -12,7 +12,7 @@ class Xpdf < Formula
:because => 'xpdf, pdf2image, and poppler install conflicting executables'
# see: http://gnats.netbsd.org/45562
def patches; DATA; end
patch :DATA
def install
ENV.append_to_cflags "-I#{MacOS::X11.include} -I#{MacOS::X11.include}/freetype2"