cadaver: use Formula[]
This commit is contained in:
parent
2f7e7c6e19
commit
8a7ff3c6e3
1 changed files with 2 additions and 2 deletions
|
@ -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}",
|
||||
|
|
Loading…
Reference in a new issue