From 411e672c5ff0580487c41635036cd0594bd1df80 Mon Sep 17 00:00:00 2001 From: blogabe Date: Thu, 3 Apr 2014 14:52:25 -0700 Subject: xplanet: fix cspice optional dependency. Closes #28123. Signed-off-by: Mike McQuaid --- Library/Formula/xplanet.rb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/xplanet.rb b/Library/Formula/xplanet.rb index c09a9fae3..fa541eda5 100644 --- a/Library/Formula/xplanet.rb +++ b/Library/Formula/xplanet.rb @@ -27,11 +27,8 @@ class Xplanet < Formula depends_on "libtiff" => :recommended depends_on "netpbm" if build.with?("netpbm") || build.with?("all") - - if build.with?("pango") || build.with?("all") - depends_on "pango" - depends_on "cspice" - end + depends_on "pango" if build.with?("pango") || build.with?("all") + depends_on "cspice" if build.with?("cspice") || build.with?("all") depends_on :freetype depends_on :x11 -- cgit v1.2.3