aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-03-20 14:05:17 -0500
committerJack Nagel2014-03-20 14:05:17 -0500
commit8b559d3e85e897d293c4676af95ead4cfeab5a2f (patch)
treeed76bcf1a4669730c3315edc7273d5bbe6effc2d
parent91b65fcd51ca4c51ef75acc87093c57241b0c323 (diff)
downloadhomebrew-8b559d3e85e897d293c4676af95ead4cfeab5a2f.tar.bz2
pocl: use patch DSL
-rw-r--r--Library/Formula/pocl.rb10
1 files changed, 4 insertions, 6 deletions
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