aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/wine.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/wine.rb b/Library/Formula/wine.rb
index 4b91144a5..ad3b34f93 100644
--- a/Library/Formula/wine.rb
+++ b/Library/Formula/wine.rb
@@ -21,7 +21,7 @@ class Wine <Formula
# to be searched by dyld.
def wine_wrapper; <<-EOS
#!/bin/sh
-DYLD_FALLBACK_LIBRARY_PATH="/usr/X11/lib:#{HOMEBREW_PREFIX+'lib'}" "#{bin}/wine.bin" "$@"
+DYLD_FALLBACK_LIBRARY_PATH="/usr/X11/lib:#{HOMEBREW_PREFIX}/lib" "#{bin}/wine.bin" "$@"
EOS
end
@@ -45,8 +45,8 @@ EOS
"--with-opengl"]
args << "--disable-win16" if MACOS_VERSION < 10.6
- args << "--without-mpg123" if Hardware.is_64_bit?
# 64-bit builds of mpg123 are incompatible with 32-bit builds of Wine
+ args << "--without-mpg123" if Hardware.is_64_bit?
system "./configure", *args
system "make install"