aboutsummaryrefslogtreecommitdiff
path: root/security/clamav/Makefile
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2016-08-10 07:10:30 +0000
committerDima Panov <fluffy@FreeBSD.org>2016-08-10 07:10:30 +0000
commitee79543642e69c1d37bf6e173452a077b16766e0 (patch)
tree8c067c280d47ce13f0a3b17c1099c5f27f83e890 /security/clamav/Makefile
parentd5d1f754721a922b99e1d85406d4c119fa88d005 (diff)
downloadports-ee79543642e69c1d37bf6e173452a077b16766e0.tar.gz
ports-ee79543642e69c1d37bf6e173452a077b16766e0.zip
Notes
Diffstat (limited to 'security/clamav/Makefile')
-rw-r--r--security/clamav/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/security/clamav/Makefile b/security/clamav/Makefile
index 05eb281db57c..7185fc3ea0e0 100644
--- a/security/clamav/Makefile
+++ b/security/clamav/Makefile
@@ -3,6 +3,7 @@
PORTNAME= clamav
PORTVERSION= 0.99.2
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.clamav.net/downloads/production/
@@ -134,7 +135,10 @@ GROUPS= clamav mail
.endif
.if ${PORT_OPTIONS:MLLVM} && ( ${ARCH} == "i386" || ${ARCH} == "amd64" )
-CONFIGURE_ARGS+=--enable-llvm
+CONFIGURE_ARGS+=--enable-llvm --with-system-llvm=${LOCALBASE}/llvm${LLVMVER}
+BUILD_DEPENDS+= llvm${LLVMVER}>=0:devel/llvm${LLVMVER}
+# Beware: ClamAV doesn't support LLVM 3.7 or higher yet
+LLVMVER= 36
. if ${PORT_OPTIONS:MTESTS}
USES+= python:build
. endif