ghc: use patch DSL

master
Jack Nagel 2014-03-21 10:15:51 -05:00
parent eefa440b39
commit 06d1498f96
1 changed files with 2 additions and 6 deletions

View File

@ -71,13 +71,9 @@ class Ghc < Formula
url "https://github.com/ghc/testsuite/archive/ghc-7.6.3-release.tar.gz"
sha1 "6a1973ae3cccdb2f720606032ae84ffee8680ca1"
end
end
def patches
if build.stable?
# Fixes 7.6.3 compilation on 10.9
DATA if MacOS.version >= :mavericks
end
# Fixes 7.6.3 compilation on 10.9
patch :DATA if MacOS.version >= :mavericks
end
def install