diff options
| author | Adam Vandenberg | 2013-01-17 17:07:50 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-01-17 17:07:50 -0800 |
| commit | c6292b72924ec66fe5438beffbbd743c88e27288 (patch) | |
| tree | 428a03bcbe5fe75659d907c7e6351edaf31871a2 /Library | |
| parent | 3d6580c10a292a5ba7d3a365a68d6f7a93f24243 (diff) | |
| download | homebrew-c6292b72924ec66fe5438beffbbd743c88e27288.tar.bz2 | |
pdf2image: force std
Superenv is stripping flags this needs to compile.
Based on a comment, this formula is using flags in a slightly non-standard way.
Fixes #16186.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/pdf2image.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Formula/pdf2image.rb b/Library/Formula/pdf2image.rb index a9b6f7ba2..93e882dd6 100644 --- a/Library/Formula/pdf2image.rb +++ b/Library/Formula/pdf2image.rb @@ -7,6 +7,9 @@ class Pdf2image < Formula depends_on :x11 + # superenv strips flags that are needed for the build to succeed + env :std + def install system "./configure", "--prefix=#{prefix}" @@ -15,7 +18,8 @@ class Pdf2image < Formula inreplace "Makefile", "/man/", "/share/man/" # Add X11 libs manually; the Makefiles don't use LDFLAGS properly - inreplace ["src/Makefile", "xpdf/Makefile"], "LDFLAGS =", "LDFLAGS=-L#{MacOS::X11.lib}" + inreplace ["src/Makefile", "xpdf/Makefile"], + "LDFLAGS =", "LDFLAGS=-L#{MacOS::X11.lib}" system "make" system "make install" |
