rakudo-star: use Formula[]

This commit is contained in:
Adam Vandenberg 2014-02-24 22:53:02 -08:00
parent 1a3e460a4e
commit 76e4e2136d

View file

@ -13,7 +13,7 @@ class RakudoStar < Formula
depends_on 'libffi'
def install
libffi = Formula.factory("libffi")
libffi = Formula["libffi"]
ENV.remove 'CPPFLAGS', "-I#{libffi.include}"
ENV.prepend 'CPPFLAGS', "-I#{libffi.lib}/libffi-#{libffi.version}/include"