aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/clamav.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Formula/clamav.rb b/Library/Formula/clamav.rb
index 3345f3c88..2f60747e8 100644
--- a/Library/Formula/clamav.rb
+++ b/Library/Formula/clamav.rb
@@ -6,8 +6,12 @@ class Clamav < Formula
sha1 '1bb317ead4a1a677a9a11a063fc35a63f22309e9'
def install
- system "./configure", "--disable-dependency-tracking",
- "--prefix=#{prefix}"
+ args = %W{--disable-dependency-tracking
+ --prefix=#{prefix}
+ --disable-zlib-vcheck}
+ args << "--with-zlib=#{MacOS.sdk_path}/usr" unless MacOS::CLT.installed?
+
+ system "./configure", *args
system "make install"
end
end