aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/wine.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-08-10 07:42:05 -0700
committerAdam Vandenberg2010-08-10 07:42:05 -0700
commita708f534672b1bd5afda2b13f182bba512a92b23 (patch)
tree99591fc395441e7d57910e2c38af3ec6e26ba291 /Library/Formula/wine.rb
parent739dcdb363d11fe765f819da06b5ee4bf8e34f85 (diff)
downloadhomebrew-a708f534672b1bd5afda2b13f182bba512a92b23.tar.bz2
wine - add warning about mpg123
Diffstat (limited to 'Library/Formula/wine.rb')
-rw-r--r--Library/Formula/wine.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/Library/Formula/wine.rb b/Library/Formula/wine.rb
index 91df6a352..5ed70c061 100644
--- a/Library/Formula/wine.rb
+++ b/Library/Formula/wine.rb
@@ -31,6 +31,15 @@ EOS
args << "--without-freetype" if MACOS_VERSION >= 10.6 and Hardware.is_64_bit?
args << "--disable-win16" if MACOS_VERSION < 10.6
+ if Hardware.is_64_bit? and Formula.factory('mpg123').installed?
+ opoo "A 64-bit mpg123 causes this formula to fail"
+ puts <<-EOS.undent
+ Because Wine builds 32-bit, a 64-bit mpg123 will cause this formula to fail.
+ You can get around this by doing `brew unlink mpg123` before installing Wine
+ and then `brew link mpg123` afterwards.
+ EOS
+ end
+
system "./configure", *args
system "make install"