aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-10-21 13:27:57 -0700
committerAdam Vandenberg2012-10-21 13:37:18 -0700
commit2911a72b0840eee856f06070f672257e98fb765c (patch)
tree6c000b3e69ddf559d491b1ffd1edd51433d36e34 /Library/Formula
parente90249c64f24a7a4b80fe6796a83c0b018ebf822 (diff)
downloadhomebrew-2911a72b0840eee856f06070f672257e98fb765c.tar.bz2
wine: fix audit
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/wine.rb19
1 files changed, 11 insertions, 8 deletions
diff --git a/Library/Formula/wine.rb b/Library/Formula/wine.rb
index 725a2ff54..baad35c6d 100644
--- a/Library/Formula/wine.rb
+++ b/Library/Formula/wine.rb
@@ -14,6 +14,7 @@ class Wine < Formula
homepage 'http://winehq.org/'
url 'http://downloads.sourceforge.net/project/wine/Source/wine-1.4.1.tar.bz2'
sha256 '3c233e3811e42c2f3623413783dbcd0f2288014b5645211f669ffd0ba6ae1856'
+
head 'git://source.winehq.org/git/wine.git'
devel do
@@ -93,8 +94,8 @@ class Wine < Formula
# Use a wrapper script, so rename wine to wine.bin
# and name our startup script wine
- mv (bin+'wine'), (bin+'wine.bin')
- (bin+'wine').write(wine_wrapper)
+ mv bin/'wine', bin/'wine.bin'
+ (bin/'wine').write(wine_wrapper)
end
def caveats
@@ -109,13 +110,15 @@ class Wine < Formula
http://code.google.com/p/osxwinebuilder/
EOS
# see http://bugs.winehq.org/show_bug.cgi?id=31374
- s += <<-EOS.undent if (ARGV.build_devel? or ARGV.build_head?)
+ unless build.stable?
+ s += <<-EOS.undent
- The current version of Wine contains a partial implementation of dwrite.dll
- which may cause text rendering issues in applications such as Steam.
- We recommend that you run winecfg, add an override for dwrite in the
- Libraries tab, and edit the override mode to "disable".
- EOS
+ The current version of Wine contains a partial implementation of dwrite.dll
+ which may cause text rendering issues in applications such as Steam.
+ We recommend that you run winecfg, add an override for dwrite in the
+ Libraries tab, and edit the override mode to "disable".
+ EOS
+ end
return s
end
end