From 8b559d3e85e897d293c4676af95ead4cfeab5a2f Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 20 Mar 2014 14:05:17 -0500 Subject: pocl: use patch DSL --- Library/Formula/pocl.rb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/pocl.rb b/Library/Formula/pocl.rb index 5333a4957..a1d28871a 100644 --- a/Library/Formula/pocl.rb +++ b/Library/Formula/pocl.rb @@ -10,12 +10,10 @@ class Pocl < Formula depends_on 'llvm' => 'with-clang' depends_on :libltdl - def patches - # Check if ndebug flag is required for compiling pocl didn't work on osx - # for some reason. Information if bug is fixed is found from - # https://github.com/pocl/pocl/issues/59 - DATA - end + # Check if ndebug flag is required for compiling pocl didn't work on osx + # for some reason. Information if bug is fixed is found from + # https://github.com/pocl/pocl/issues/59 + patch :DATA def install ENV.j1 -- cgit v1.2.3