From 49e7dff6080fb9fb311c6b7d76abc710d63a2cce Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 21 Mar 2014 10:15:51 -0500 Subject: ghc: use patch DSL --- Library/Formula/ghc.rb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/ghc.rb b/Library/Formula/ghc.rb index a13093df6..2e2dadd4f 100644 --- a/Library/Formula/ghc.rb +++ b/Library/Formula/ghc.rb @@ -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 -- cgit v1.2.3