aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ghostscript.rb
diff options
context:
space:
mode:
authorJack Nagel2013-09-20 10:15:54 -0500
committerJack Nagel2013-09-21 19:29:52 -0500
commit6fe5459c30dc7374bea1b998a7d2f8e32d60b446 (patch)
treef9a7ca967cc7cd5637e429c1596c0f2bb46b5cf5 /Library/Formula/ghostscript.rb
parent39fd447beeeda4faaa46559e5aadc7c38c99da75 (diff)
downloadhomebrew-6fe5459c30dc7374bea1b998a7d2f8e32d60b446.tar.bz2
ghostscript: use spec deps
Diffstat (limited to 'Library/Formula/ghostscript.rb')
-rw-r--r--Library/Formula/ghostscript.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/ghostscript.rb b/Library/Formula/ghostscript.rb
index 27d7fddd2..10731cc71 100644
--- a/Library/Formula/ghostscript.rb
+++ b/Library/Formula/ghostscript.rb
@@ -11,6 +11,9 @@ class Ghostscript < Formula
resource 'djvu' do
url 'git://git.code.sf.net/p/djvu/gsdjvu-git'
end
+
+ depends_on :automake
+ depends_on :libtool
end
option 'with-djvu', 'Build drivers for DjVU file format'
@@ -18,11 +21,6 @@ class Ghostscript < Formula
# TODO - figure out why this is needed
env :std if build.with? 'djvu'
- if build.head?
- depends_on :automake
- depends_on :libtool
- end
-
depends_on 'pkg-config' => :build
depends_on 'jpeg'
depends_on 'libtiff'