diff options
| author | Jack Nagel | 2013-06-25 10:12:14 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-06-25 10:12:14 -0500 |
| commit | 852e0a030f9b7895245afe839715176fc91eec0f (patch) | |
| tree | 82a778808df668759a8a347b4abdb9823a694324 /Library/Formula | |
| parent | 957b32b1f21b8d84ad3fb7442996568c2edcf8f3 (diff) | |
| download | homebrew-852e0a030f9b7895245afe839715176fc91eec0f.tar.bz2 | |
ghostscript: use optional dep for x11
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/ghostscript.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Formula/ghostscript.rb b/Library/Formula/ghostscript.rb index a3787add9..7a055ff65 100644 --- a/Library/Formula/ghostscript.rb +++ b/Library/Formula/ghostscript.rb @@ -22,7 +22,6 @@ class Ghostscript < Formula head 'git://git.ghostscript.com/ghostpdl.git' - option 'with-x11', 'Install with X11 support' option 'with-djvu', 'Build drivers for DjVU file format' if build.head? @@ -35,7 +34,7 @@ class Ghostscript < Formula depends_on 'libtiff' depends_on 'jbig2dec' depends_on :libpng - depends_on :x11 => '2.7.2' if build.include? 'with-x11' + depends_on :x11 => ['2.7.2', :optional] depends_on 'djvulibre' if build.include? 'with-djvu' # Fix dylib names, per installation instructions @@ -78,7 +77,7 @@ class Ghostscript < Formula --disable-gtk --with-system-libtiff ] - args << '--without-x' unless build.include? 'with-x11' + args << '--without-x' unless build.with? 'x11' if build.head? system './autogen.sh', *args |
