aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ghostscript.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2012-07-07 11:08:22 -0700
committerAdam Vandenberg2012-07-10 08:56:02 -0700
commit1f32fa43a77d75fe354e9e59bd23e9b9d934e09c (patch)
treec49ca57d6e333035e48616bf89eaba0d067da021 /Library/Formula/ghostscript.rb
parentcc6e0124437c4ceabbc0542770ed154aa0fb9e4e (diff)
downloadhomebrew-1f32fa43a77d75fe354e9e59bd23e9b9d934e09c.tar.bz2
Use autotools symbols
Diffstat (limited to 'Library/Formula/ghostscript.rb')
-rw-r--r--Library/Formula/ghostscript.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Formula/ghostscript.rb b/Library/Formula/ghostscript.rb
index 57b7bc90d..e3e38ee8c 100644
--- a/Library/Formula/ghostscript.rb
+++ b/Library/Formula/ghostscript.rb
@@ -13,6 +13,11 @@ class Ghostscript < Formula
head 'git://git.ghostscript.com/ghostpdl.git'
+ if ARGV.build_head?
+ depends_on :automake
+ depends_on :libtool
+ end
+
depends_on 'pkg-config' => :build
depends_on 'jpeg'
depends_on 'libtiff'
@@ -20,11 +25,6 @@ class Ghostscript < Formula
depends_on 'little-cms2'
depends_on :libpng
- if ARGV.build_head? and MacOS.xcode_version >= "4.3"
- depends_on "automake" => :build
- depends_on "libtool" => :build
- end
-
def move_included_source_copies
# If the install version of any of these doesn't match
# the version included in ghostscript, we get errors