libxslt: use Formula[]

This commit is contained in:
Adam Vandenberg 2014-02-26 19:29:24 -08:00
parent b7a61bac1d
commit 3aef93d85f

View file

@ -13,7 +13,7 @@ class Libxslt < Formula
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-libxml-prefix=#{Formula.factory('libxml2').prefix}"
"--with-libxml-prefix=#{Formula["libxml2"].prefix}"
system "make"
system "make install"
end