aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-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'