From 1f32fa43a77d75fe354e9e59bd23e9b9d934e09c Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 7 Jul 2012 11:08:22 -0700 Subject: Use autotools symbols --- Library/Formula/ghostscript.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Library/Formula/ghostscript.rb') 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 -- cgit v1.2.3