aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorblogabe2014-07-29 13:22:37 -0700
committerMike McQuaid2014-07-30 01:12:05 +0200
commit327e8e8220f4fdde25e8ef25b7ec558b61d2ea66 (patch)
tree4d90799a75ce730bb337a71c6877e9beda68f280 /Library/Formula
parenta8d3f6838ea741d0a1e1e09ca611f28be97041b1 (diff)
downloadhomebrew-327e8e8220f4fdde25e8ef25b7ec558b61d2ea66.tar.bz2
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 <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/xplanet.rb6
1 files changed, 6 insertions, 0 deletions
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