aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-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 d8c9809ce..68ef0fa00 100644
--- a/Library/Formula/mplayer.rb
+++ b/Library/Formula/mplayer.rb
@@ -3,12 +3,12 @@ require 'brewkit'
class Mplayer <Formula
@homepage='http://www.mplayerhq.hu/'
@head='svn://svn.mplayerhq.hu/mplayer/trunk'
+
+ depends_on 'pkg-config' => :recommended
def install
- # Information from http://blog.bloople.net/read/mplayer-on-snow-leopard
- # seems to claim that we have to build against an x86_64 target even if on
- # i386 /-:
- system "./configure --prefix='#{prefix}' --target=x86_64-Darwin"
+ ENV.gcc_4_2 # llvm chokes on labels within mlp inline asm
+ system "./configure --prefix='#{prefix}'"
system "make"
system "make install"
end