svn commit: r419991 - branches/2016Q3/security/clamav

Dima Panov fluffy at FreeBSD.org
Wed Aug 10 07:15:46 UTC 2016


Author: fluffy
Date: Wed Aug 10 07:15:45 2016
New Revision: 419991
URL: https://svnweb.freebsd.org/changeset/ports/419991

Log:
  MFH: r419990
  
  - security/clamav: Unbroke Jit engine
  
  Buldled LLVM is very limited/outdated and produce the broken code on recent FreeBSD releases,
  so unconditionally rely on latest supported (3.6) LLVM framework from ports to build ClamAV Jit parser
  
  PR:		211683
  Reported by:	many
  Submitted by:	myself
  Approved by:	garga (maintainer)
  
  Approved by:	ports-secteam (blanket)

Modified:
  branches/2016Q3/security/clamav/Makefile
Directory Properties:
  branches/2016Q3/   (props changed)

Modified: branches/2016Q3/security/clamav/Makefile
==============================================================================
--- branches/2016Q3/security/clamav/Makefile	Wed Aug 10 07:10:30 2016	(r419990)
+++ branches/2016Q3/security/clamav/Makefile	Wed Aug 10 07:15:45 2016	(r419991)
@@ -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


More information about the svn-ports-all mailing list