diff options
| author | Jack Nagel | 2012-08-27 15:40:41 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-08-27 15:40:41 -0500 |
| commit | fdb604bbee37194314e812034a676964c80169ab (patch) | |
| tree | adbe9276cc5970671c1578f5140a159578a99c5a /Library/Formula/ghostscript.rb | |
| parent | 47c464115d9b205dd4c96bc02478fb38cfef3e26 (diff) | |
| download | homebrew-fdb604bbee37194314e812034a676964c80169ab.tar.bz2 | |
ghostscript: don't call X11 methods unless X11 is installed
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/ghostscript.rb')
| -rw-r--r-- | Library/Formula/ghostscript.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/ghostscript.rb b/Library/Formula/ghostscript.rb index 33fde65dd..15dd645b7 100644 --- a/Library/Formula/ghostscript.rb +++ b/Library/Formula/ghostscript.rb @@ -44,7 +44,7 @@ class Ghostscript < Formula def install ENV.deparallelize # ghostscript configure ignores LDFLAGs apparently - ENV['LIBS'] = "-L#{MacOS::X11.lib}" + ENV['LIBS'] = "-L#{MacOS::X11.lib}" if MacOS::X11.installed? src_dir = build.head? ? "gs" : "." |
