Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Aug 2016 07:15:45 +0000 (UTC)
From:      Dima Panov <fluffy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r419991 - branches/2016Q3/security/clamav
Message-ID:  <201608100715.u7A7FjkQ030332@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608100715.u7A7FjkQ030332>