From d43ef1288ea49baf1890886a168f2e644d984f3d Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 19 Mar 2014 12:07:53 -0500 Subject: imake: use patch DSL --- Library/Formula/imake.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/imake.rb b/Library/Formula/imake.rb index f9aecae6d..c1a220d35 100644 --- a/Library/Formula/imake.rb +++ b/Library/Formula/imake.rb @@ -13,11 +13,9 @@ class Imake < Formula sha1 'ae22eb81d56d018f0b3b149f70965ebfef2385fd' end - def patches - # Remove cpp whitespace check and add "-" to pass the cpp -undef test. - # These are needed to support superenv (which uses clang) - DATA - end + # Remove cpp whitespace check and add "-" to pass the cpp -undef test. + # These are needed to support superenv (which uses clang) + patch :DATA def install ENV.deparallelize -- cgit v1.2.3