xplanet: fix cspice optional dependency.

Closes Homebrew/homebrew#28123.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
master
blogabe 2014-04-03 14:52:25 -07:00 committed by Mike McQuaid
parent efccfedbbe
commit 300f211577
1 changed files with 2 additions and 5 deletions

View File

@ -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