From 68ac0f7ef7bd321ade8b22ae4aa3932579ef01a9 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 18 Mar 2014 12:13:30 -0500 Subject: cgal: use patch DSL --- Library/Formula/cgal.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/cgal.rb b/Library/Formula/cgal.rb index 312357260..62c763839 100644 --- a/Library/Formula/cgal.rb +++ b/Library/Formula/cgal.rb @@ -24,10 +24,8 @@ class Cgal < Formula depends_on 'qt' if build.include? 'imaging' depends_on 'eigen' if build.with? "eigen3" - def patches - # Allows to compile with clang 425: http://goo.gl/y9Dg2y - DATA - end + # Allows to compile with clang 425: http://goo.gl/y9Dg2y + patch :DATA def install ENV.cxx11 if build.cxx11? -- cgit v1.2.3