diff options
| author | David Conrad | 2009-10-06 00:09:57 -0400 |
|---|---|---|
| committer | Max Howell | 2009-10-09 00:54:27 +0100 |
| commit | ae9ca876cc2e703795db721e04ff6ceed14ec16f (patch) | |
| tree | 001d6bd25c327ff97100ee181d8ad70e43c0f4f7 /Library/Formula | |
| parent | ffec849b05989358be3fc356dc6302cd464aab55 (diff) | |
| download | homebrew-ae9ca876cc2e703795db721e04ff6ceed14ec16f.tar.bz2 | |
MPlayer formula fixes
Don't force x86_64; configure detects it properly now
Use gcc-4.2 as llvm-gcc-4.2 chokes on mlp inline asm
Add recommended dependancy on pkg-config
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mplayer.rb | 8 |
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 |
