aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2014-03-08 07:42:22 -0800
committerAdam Vandenberg2014-03-08 14:33:05 -0800
commitf11cab05e01f6efe315ebcb9df6ba6bf79e405c6 (patch)
tree9f2ecb24bc894781e2cdd3f804d067c42e5b369c /Library
parent59eb5ae626461484cc845d40d485bec12733abf0 (diff)
downloadhomebrew-f11cab05e01f6efe315ebcb9df6ba6bf79e405c6.tar.bz2
ghc: move patches out of if block
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ghc.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/ghc.rb b/Library/Formula/ghc.rb
index 619f8cf2c..e1835a0cd 100644
--- a/Library/Formula/ghc.rb
+++ b/Library/Formula/ghc.rb
@@ -66,8 +66,10 @@ class Ghc < Formula
which causes subsequent GHC-based builds to fail.
EOS
end
+ end
- def patches
+ def patches
+ if build.stable?
# Fixes 7.6.3 compilation on 10.9
DATA if MacOS.version >= :mavericks
end