aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mplayer.rb
diff options
context:
space:
mode:
authorMisty De Meo2011-06-29 10:15:59 -0500
committerMax Howell2011-08-19 17:10:57 +0100
commit25051afceb004091715678468b28d425d01f7591 (patch)
treeea94df30dd831aa30fef4503a5d438732c1a3288 /Library/Formula/mplayer.rb
parente21e1ae1a172e272ef461c9148908c4c188c83cd (diff)
downloadhomebrew-25051afceb004091715678468b28d425d01f7591.tar.bz2
mplayer: add --disable-cdparanoia to fix build
CDParanoia has crazy hacks applied to build on OS X because upstream don't support us. MPlayer chokes on these hacks. Closes #6240.
Diffstat (limited to 'Library/Formula/mplayer.rb')
-rw-r--r--Library/Formula/mplayer.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/mplayer.rb b/Library/Formula/mplayer.rb
index 875b11b8b..127877d5e 100644
--- a/Library/Formula/mplayer.rb
+++ b/Library/Formula/mplayer.rb
@@ -30,7 +30,9 @@ class Mplayer < Formula
ENV['CFLAGS'] = ''
ENV['CXXFLAGS'] = ''
- system './configure', "--prefix=#{prefix}"
+ # we disable cdparanoia because homebrew's version is hacked to work on OS X
+ # and mplayer doesn't expect the hacks we apply. So it chokes.
+ system './configure', "--prefix=#{prefix}", "--disable-cdparanoia"
system "make"
system "make install"
end