aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/wine.rb
diff options
context:
space:
mode:
authorBirger J. Nordølum2011-08-20 01:28:22 +0300
committerAdam Vandenberg2011-09-03 11:11:51 -0700
commitc0f9d47586ab241b5f5054d1b84b5e015f07ce43 (patch)
tree5ea0686de297148451898f1418efb137ef98678e /Library/Formula/wine.rb
parent0b4869e95a7121a221efc4d00e024210243c589d (diff)
downloadhomebrew-c0f9d47586ab241b5f5054d1b84b5e015f07ce43.tar.bz2
Wine: fix patch handling
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/wine.rb')
-rw-r--r--Library/Formula/wine.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/wine.rb b/Library/Formula/wine.rb
index 0f284bbec..13587fe9f 100644
--- a/Library/Formula/wine.rb
+++ b/Library/Formula/wine.rb
@@ -88,7 +88,7 @@ EOS
# We have backported Camillo Lugaresi's patch from upstream. The patch can
# be removed from this formula once it lands in both the devel and stable
# branches of Wine.
- if MacOS.lion?
+ if MacOS.lion? and not (ARGV.flag? '--devel' or ARGV.build_head?)
def patches; DATA; end
end