From 7e77f97ba5eeb5ea9b4bdcd0c363e2f089669545 Mon Sep 17 00:00:00 2001 From: Piotr Usewicz Date: Sat, 10 Oct 2009 12:36:36 +0100 Subject: Update to Wine 1.1.31 Force gcc 4.2 to compile wine --- Library/Formula/wine.rb | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'Library') diff --git a/Library/Formula/wine.rb b/Library/Formula/wine.rb index 38f9b75b4..ec7630335 100644 --- a/Library/Formula/wine.rb +++ b/Library/Formula/wine.rb @@ -1,18 +1,19 @@ require 'brewkit' class Wine optional # doesn't yet compile on 10.6 + depends_on 'mpg123' => :optional def install - ENV.gcc_4_2 # TODO: add a comment explaining why we do this + # Wine does not compile with LLVM yet + ENV.gcc_4_2 ENV.x11 - # Make sure we build 32bit version # TODO: add a comment explaining why we do this + # Make sure we build 32bit version, because Wine64 is not fully functional yet build32 = "-arch i386 -m32" ENV["LIBS"] = "-lGL -lGLU" @@ -38,7 +39,7 @@ Get winetricks with: def wine_wrapper DATA end - + def rename_binary (bin+'wine').rename(bin+'wine.bin') end -- cgit v1.2.3