aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mplayer.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/mplayer.rb b/Library/Formula/mplayer.rb
index c4907f013..369b64052 100644
--- a/Library/Formula/mplayer.rb
+++ b/Library/Formula/mplayer.rb
@@ -12,6 +12,7 @@ class Mplayer < Formula
depends_on 'yasm' => :build
depends_on 'xz' => :build
+ depends_on 'libcaca' => :optional
depends_on :x11 if build.include? 'with-x'
unless build.include? 'without-osd' or build.include? 'with-x'
@@ -58,6 +59,7 @@ class Mplayer < Formula
args << "--enable-menu" unless build.include? 'without-osd'
args << "--disable-x11" unless build.include? 'with-x'
+ args << "--enable-caca" if build.with? 'libcaca'
system "./configure", *args
system "make"