lilypond: use Formula[]

This commit is contained in:
Adam Vandenberg 2014-02-26 19:33:04 -08:00
parent 3aef93d85f
commit 57b50efb9d

View file

@ -65,14 +65,14 @@ class Lilypond < Formula
resource('guile18').stage do
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-libreadline-prefix=#{Formula.factory('readline').opt_prefix}"
"--with-libreadline-prefix=#{Formula["readline"].opt_prefix}"
system "make", "install"
# A really messed up workaround required on OS X --mkhl
lib.cd { Dir["*.dylib"].each {|p| ln_sf p, File.basename(p, ".dylib")+".so" }}
ENV.prepend_path 'PATH', "#{bin}"
end
gs = Formula.factory('ghostscript')
gs = Formula["ghostscript"]
args = ["--prefix=#{prefix}",
"--enable-rpath",