redland: use Formula[]

master
Adam Vandenberg 2014-02-26 19:38:53 -08:00
parent 69fb83ae24
commit 7417d92072
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class Redland < Formula
end
if build.with? 'berkeley-db'
args << "--with-bdb=#{Formula.factory('berkeley-db').opt_prefix}"
args << "--with-bdb=#{Formula["berkeley-db"].opt_prefix}"
else
args << "--with-bdb=no"
end