diff --git a/Formula/cadaver.rb b/Formula/cadaver.rb index 50a42d8a9c..dfedbee09a 100644 --- a/Formula/cadaver.rb +++ b/Formula/cadaver.rb @@ -9,16 +9,16 @@ class Cadaver < Formula depends_on 'gettext' depends_on 'readline' depends_on 'neon' + depends_on 'openssl' # enable build with the latest neon patch :DATA def install - neon_prefix = Formula['neon'].opt_prefix - system "./configure", "--prefix=#{prefix}", - "--with-neon=#{neon_prefix}", - "--with-ssl" + "--with-ssl=openssl", + "--with-libs=#{Formula["openssl"].opt_prefix}", + "--with-neon=#{Formula["neon"].opt_prefix}" system "make", "-C", "lib/intl" system "make install" end