diff options
| author | Rui Pereira | 2013-01-06 14:21:45 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2013-01-13 18:15:48 -0800 |
| commit | ead06fb5ba4d4f69c6cd9a7f7834346de1f3651b (patch) | |
| tree | 2be63efb2207080de064cff9febd03a165478984 /Library/Formula/ghostscript.rb | |
| parent | 60aabff4afddb9dfe66140f98e6f52f28386d772 (diff) | |
| download | homebrew-ead06fb5ba4d4f69c6cd9a7f7834346de1f3651b.tar.bz2 | |
ghostscript: add '--with-x11' option
GS compiles properly with XQuartz. This is needed
for ghostview.
Closes #16924.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/ghostscript.rb')
| -rw-r--r-- | Library/Formula/ghostscript.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/ghostscript.rb b/Library/Formula/ghostscript.rb index 372b2dc50..a3f2abf5a 100644 --- a/Library/Formula/ghostscript.rb +++ b/Library/Formula/ghostscript.rb @@ -13,6 +13,8 @@ class Ghostscript < Formula head 'git://git.ghostscript.com/ghostpdl.git' + option 'with-x11', 'Install with X11 support' + if build.head? depends_on :automake depends_on :libtool @@ -24,6 +26,7 @@ class Ghostscript < Formula depends_on 'jbig2dec' depends_on 'little-cms2' depends_on :libpng + depends_on :x11 => '2.7.2' if build.include? 'with-x11' # Fix dylib names, per installation instructions def patches @@ -54,8 +57,8 @@ class Ghostscript < Formula --disable-compile-inits --disable-gtk --with-system-libtiff - --without-x ] + args << '--without-x' unless build.include? 'with-x11' if build.head? system './autogen.sh', *args |
