pixie: use Formula[]

This commit is contained in:
Adam Vandenberg 2014-02-25 21:53:57 -08:00
parent bdcba390ac
commit 0e5ae2dfac

View file

@ -12,8 +12,8 @@ class Pixie < Formula
depends_on :x11
def install
openexr = Formula.factory('openexr')
ilmbase = Formula.factory('ilmbase')
openexr = Formula["openexr"]
ilmbase = Formula["ilmbase"]
ENV.append "CPPFLAGS", "-I#{openexr.include}/OpenEXR -I#{ilmbase.include}/OpenEXR"
ENV.append "LDFLAGS", "-L#{openexr.lib} -L#{ilmbase.lib}"