aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2013-11-26 21:54:38 -0600
committerJack Nagel2013-11-26 21:54:38 -0600
commitc8b301daaaec28a59d4b7b36ae4ace188586cdf4 (patch)
tree332904aff09ef74ec82ef2c062738644ed31ad92
parentb540437d66f870c4418c517e1a478bf0d0664bdf (diff)
downloadhomebrew-c8b301daaaec28a59d4b7b36ae4ace188586cdf4.tar.bz2
pdf2image: correct variable name in Makefile
-rw-r--r--Library/Formula/pdf2image.rb3
1 files changed, 3 insertions, 0 deletions
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}"