yap: use Formula[]

This commit is contained in:
Adam Vandenberg 2014-02-24 20:28:53 -08:00
parent ed71fb2233
commit 60c22b7292

View file

@ -23,8 +23,8 @@ class Yap < Formula
"--enable-coroutining",
"--enable-threads",
"--enable-pthread-locking",
"--with-gmp=#{Formula.factory('gmp').opt_prefix}",
"--with-readline=#{Formula.factory('readline').opt_prefix}",
"--with-gmp=#{Formula['gmp'].opt_prefix}",
"--with-readline=#{Formula['readline'].opt_prefix}",
"--with-java=/Library/Java/Home",
"--prefix=#{prefix}"