aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mplayer.rb
diff options
context:
space:
mode:
authorMike McQuaid2014-03-06 20:40:26 +0000
committerMike McQuaid2014-03-08 00:54:35 +0000
commit9de9f8d10e8e6d8c2d7cf7b74e6085038fc728d9 (patch)
tree2c9f666ed5bda1fdf28f56b4637fb4d6c5ccc0a1 /Library/Formula/mplayer.rb
parente6dd316f1e5988f50f524c627c38ce5473097cc1 (diff)
downloadhomebrew-9de9f8d10e8e6d8c2d7cf7b74e6085038fc728d9.tar.bz2
formulae: fix with/without usage.
Closes #27275. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/mplayer.rb')
-rw-r--r--Library/Formula/mplayer.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/mplayer.rb b/Library/Formula/mplayer.rb
index 1bf60ecda..a1e0a8abf 100644
--- a/Library/Formula/mplayer.rb
+++ b/Library/Formula/mplayer.rb
@@ -14,7 +14,7 @@ class Mplayer < Formula
depends_on 'libcaca' => :optional
depends_on :x11 if build.with? 'x'
- unless build.without? 'osd' or build.with? 'x'
+ if build.with? 'osd' or build.with? 'x'
# These are required for the OSD. We can get them from X11, or we can
# build our own.
depends_on :fontconfig
@@ -57,8 +57,8 @@ class Mplayer < Formula
--disable-libopenjpeg
]
- args << "--enable-menu" unless build.without? 'osd'
- args << "--disable-x11" unless build.with? 'x'
+ args << "--enable-menu" if build.with? 'osd'
+ args << "--disable-x11" if build.without? 'x'
args << "--enable-caca" if build.with? 'libcaca'
system "./configure", *args
@@ -78,7 +78,7 @@ index a1fba5f..5deaa80 100755
+++ b/configure
@@ -49,8 +49,6 @@ if test -e ffmpeg/mp_auto_pull ; then
fi
-
+
if ! test -e ffmpeg ; then
- echo "No FFmpeg checkout, press enter to download one with git or CTRL+C to abort"
- read tmp