cadaver: use Formula[]

This commit is contained in:
Adam Vandenberg 2014-02-24 20:39:46 -08:00
parent 2f7e7c6e19
commit 8a7ff3c6e3

View file

@ -10,13 +10,13 @@ class Cadaver < Formula
depends_on 'readline'
depends_on 'neon'
# enable build with the latest neon
def patches
# enable build with the latest neon 0.30
DATA
end
def install
neon_prefix = Formula.factory('neon').opt_prefix
neon_prefix = Formula['neon'].opt_prefix
system "./configure", "--prefix=#{prefix}",
"--with-neon=#{neon_prefix}",