From 327e8e8220f4fdde25e8ef25b7ec558b61d2ea66 Mon Sep 17 00:00:00 2001 From: blogabe Date: Tue, 29 Jul 2014 13:22:37 -0700 Subject: xplanet: fix "with-all" option. Hoping there is a better way to handle this, but the optional dependencies can be installed individually or as part of a group. Closes #31222. Signed-off-by: Mike McQuaid --- Library/Formula/xplanet.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Library') diff --git a/Library/Formula/xplanet.rb b/Library/Formula/xplanet.rb index b828c7812..11428df81 100644 --- a/Library/Formula/xplanet.rb +++ b/Library/Formula/xplanet.rb @@ -27,6 +27,12 @@ class Xplanet < Formula depends_on "libpng" => :recommended depends_on "libtiff" => :recommended + if build.with?("all") + depends_on "netpbm" + depends_on "pango" + depends_on "cspice" + end + depends_on "netpbm" => :optional depends_on "pango" => :optional depends_on "cspice" => :optional -- cgit v1.2.3