aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-26 20:31:57 -0800
committerAdam Vandenberg2014-02-27 08:21:24 -0800
commit22b5add48b655853c0a1946ae3255f26acce2c39 (patch)
tree36dba770857de1d0e65e69c2bde430a75123b29f /Library/Formula
parent7f1570ebf3390d9fc2735b84452a0f10631227b8 (diff)
downloadhomebrew-22b5add48b655853c0a1946ae3255f26acce2c39.tar.bz2
pocl: use Formula[]
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pocl.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/pocl.rb b/Library/Formula/pocl.rb
index 310c28b0a..1ab9b4595 100644
--- a/Library/Formula/pocl.rb
+++ b/Library/Formula/pocl.rb
@@ -28,7 +28,7 @@ class Pocl < Formula
}
EOS
system "#{bin}/pocl-standalone -h head.h -o foo.bc foo.cl"
- system "\"#{Formula.factory('llvm').opt_prefix}/bin/llvm-dis\" < foo.bc | grep foo_workgroup"
+ system "\"#{Formula["llvm"].opt_prefix}/bin/llvm-dis\" < foo.bc | grep foo_workgroup"
system "pkg-config pocl --modversion | grep #{version}"
end
end