aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-03-18 12:13:30 -0500
committerJack Nagel2014-03-18 12:13:30 -0500
commit68ac0f7ef7bd321ade8b22ae4aa3932579ef01a9 (patch)
tree9b484d0c88f40a4fa9c9b0bb465e5f2fb1183a47 /Library/Formula
parent11e909ad312a774919d7b265513804ef054b9149 (diff)
downloadhomebrew-68ac0f7ef7bd321ade8b22ae4aa3932579ef01a9.tar.bz2
cgal: use patch DSL
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/cgal.rb6
1 files changed, 2 insertions, 4 deletions
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?