aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorblogabe2014-04-03 14:52:25 -0700
committerMike McQuaid2014-04-04 10:40:02 +0100
commit411e672c5ff0580487c41635036cd0594bd1df80 (patch)
tree27abf61ffa548443de5044ff12e10b8927ed9851 /Library
parent875d052dbf76744657d786e77e2da38c013d36bc (diff)
downloadhomebrew-411e672c5ff0580487c41635036cd0594bd1df80.tar.bz2
xplanet: fix cspice optional dependency.
Closes #28123. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/xplanet.rb7
1 files changed, 2 insertions, 5 deletions
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