From c8b301daaaec28a59d4b7b36ae4ace188586cdf4 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 26 Nov 2013 21:54:38 -0600 Subject: pdf2image: correct variable name in Makefile --- Library/Formula/pdf2image.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/pdf2image.rb b/Library/Formula/pdf2image.rb index d25b65870..b2867d97d 100644 --- a/Library/Formula/pdf2image.rb +++ b/Library/Formula/pdf2image.rb @@ -17,6 +17,9 @@ class Pdf2image < Formula # http://code.google.com/p/pdf2json/issues/detail?id=2 inreplace "Makefile", "/man/", "/share/man/" + # Fix incorrect variable name in Makefile + inreplace "Makefile", "$(srcdir)", "$(SRCDIR)" + # Add X11 libs manually; the Makefiles don't use LDFLAGS properly inreplace ["src/Makefile", "xpdf/Makefile"], "LDFLAGS =", "LDFLAGS=-L#{MacOS::X11.lib}" -- cgit v1.2.3