aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/clamav.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/clamav.rb b/Library/Formula/clamav.rb
index 475077e90..f8fa17b26 100644
--- a/Library/Formula/clamav.rb
+++ b/Library/Formula/clamav.rb
@@ -12,6 +12,8 @@ class Clamav < Formula
sha1 "4d2596ed31086455d7e87bade419589da46a3ef3" => :lion
end
+ depends_on "openssl"
+
skip_clean "share/clamav"
def install
@@ -21,7 +23,8 @@ class Clamav < Formula
"--libdir=#{lib}",
"--sysconfdir=#{etc}",
"--disable-zlib-vcheck",
- "--with-zlib=#{MacOS.sdk_path}/usr"
+ "--with-zlib=#{MacOS.sdk_path}/usr",
+ "--with-openssl=#{Formula["openssl"].opt_prefix}"
system "make", "install"
end
end