librasterlite: use Formula[]

This commit is contained in:
Adam Vandenberg 2014-02-26 19:03:55 -08:00
parent 53738c8f6e
commit fc4b52d2f6

View file

@ -12,7 +12,7 @@ class Librasterlite < Formula
def install
# Ensure Homebrew SQLite libraries are found before the system SQLite
sqlite = Formula.factory 'sqlite'
sqlite = Formula["sqlite"]
ENV.append 'LDFLAGS', "-L#{sqlite.opt_prefix}/lib"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"