diff options
| author | Adam Vandenberg | 2014-02-26 20:28:49 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2014-02-27 08:21:23 -0800 |
| commit | 73243042b82575c506c8f6f109368468df4c3cee (patch) | |
| tree | cc1b7ea20205f6a4084fbdf68e07c6830b08bd79 /Library/Formula | |
| parent | 094609887746bbf86cfa92d288fadf69f3da1d60 (diff) | |
| download | homebrew-73243042b82575c506c8f6f109368468df4c3cee.tar.bz2 | |
open-scene-graph: use Formula[]
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/open-scene-graph.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/open-scene-graph.rb b/Library/Formula/open-scene-graph.rb index 077f858cc..a64931ae2 100644 --- a/Library/Formula/open-scene-graph.rb +++ b/Library/Formula/open-scene-graph.rb @@ -56,14 +56,14 @@ class OpenSceneGraph < Formula args << "-DCMAKE_OSX_ARCHITECTURES=i386" end - if Formula.factory('collada-dom').installed? + if Formula["collada-dom"].installed? args << "-DCOLLADA_INCLUDE_DIR=#{HOMEBREW_PREFIX}/include/collada-dom" end if build.with? 'qt5' - args << "-DCMAKE_PREFIX_PATH=#{Formula.factory('qt5').opt_prefix}" + args << "-DCMAKE_PREFIX_PATH=#{Formula["qt5"].opt_prefix}" elsif build.with? 'qt' - args << "-DCMAKE_PREFIX_PATH=#{Formula.factory('qt').opt_prefix}" + args << "-DCMAKE_PREFIX_PATH=#{Formula["qt"].opt_prefix}" end args << '..' |
