diff options
| author | Adam Vandenberg | 2014-02-26 20:31:57 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2014-02-27 08:21:24 -0800 |
| commit | 22b5add48b655853c0a1946ae3255f26acce2c39 (patch) | |
| tree | 36dba770857de1d0e65e69c2bde430a75123b29f /Library/Formula | |
| parent | 7f1570ebf3390d9fc2735b84452a0f10631227b8 (diff) | |
| download | homebrew-22b5add48b655853c0a1946ae3255f26acce2c39.tar.bz2 | |
pocl: use Formula[]
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/pocl.rb | 2 |
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 |
