aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDrew Hess2011-03-08 00:24:08 -0800
committerAdam Vandenberg2011-03-09 09:14:39 -0800
commit197c8c1dee014d239971359cc99a7ec04a6f72ed (patch)
tree445e0237d9768d6135b7cf60eb9314aae75dc599 /Library/Formula
parent5283e5e3d0864c245b3ca65fde8af985a636e01d (diff)
downloadhomebrew-197c8c1dee014d239971359cc99a7ec04a6f72ed.tar.bz2
mplayer: fix build flags.
ENV.gcc_4_2 sets LD and CC as needed, but the formula was subsequently clearing LD and CC. This breaks the build with Xcode 4. Passing --enable-largefiles, --enable-apple-remote, and --target=x86_64-Darwin to configure is unnecessary. These settings are detected by the configure script and (properly) enabled automatically. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mplayer.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/Library/Formula/mplayer.rb b/Library/Formula/mplayer.rb
index 61dc74ea5..305cb3d77 100644
--- a/Library/Formula/mplayer.rb
+++ b/Library/Formula/mplayer.rb
@@ -21,13 +21,10 @@ class Mplayer <Formula
# http://trac.macports.org/browser/trunk/dports/multimedia/mplayer-devel/Portfile
# any kind of optimisation breaks the build
ENV.gcc_4_2
- ENV['CC'] = ''
- ENV['LD'] = ''
ENV['CFLAGS'] = ''
ENV['CXXFLAGS'] = ''
- args = ["--prefix=#{prefix}", "--enable-largefiles", "--enable-apple-remote"]
- args << "--target=x86_64-Darwin" if snow_leopard_64?
+ args = "--prefix=#{prefix}"
system './configure', *args
system "make"