aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDominyk Tiller2014-09-29 02:36:34 +0100
committerJack Nagel2014-09-29 14:16:59 -0500
commit2345df2c634af4361c7e9b990bb6de7be5cbfc62 (patch)
tree68dbeb49c50525a0ccb1a46c79ae1f2e5d358808 /Library
parent327a5f5f736ff173d12afca50eecaf540c94d3d1 (diff)
downloadhomebrew-2345df2c634af4361c7e9b990bb6de7be5cbfc62.tar.bz2
Clam: OpenSSL dep
We’ve been picking up on the system OpenSSL here as well. Executing an “otool -L” on the clamav binaries reveals: /usr/lib/libssl.0.9.8.dylib (compatibility version 0.9.8, current version 0.9.8) /usr/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8, current version 0.9.8) This fixes that. /usr/local/opt/openssl/lib/libssl.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0) Closes #32774. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-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