Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2018 13:17:40 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r488541 - head/security/clamav
Message-ID:  <201812271317.wBRDHeRB090957@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Thu Dec 27 13:17:39 2018
New Revision: 488541
URL: https://svnweb.freebsd.org/changeset/ports/488541

Log:
  security/clamav: Fix build on base system without sendmail when MILTER option is ON
  
  PR:		234289
  Submitted by:	Yasuhiro KIMURA <yasu@utahime.org> (maintainer)

Modified:
  head/security/clamav/Makefile   (contents, props changed)

Modified: head/security/clamav/Makefile
==============================================================================
--- head/security/clamav/Makefile	Thu Dec 27 13:09:18 2018	(r488540)
+++ head/security/clamav/Makefile	Thu Dec 27 13:17:39 2018	(r488541)
@@ -95,6 +95,9 @@ LDAP_USE=		OPENLDAP=yes
 LHA_RUN_DEPENDS=	lha:archivers/lha
 MILTER_CONFIGURE_WITH=	sendmail=/usr/sbin/sendmail
 MILTER_CONFIGURE_ENABLE=milter
+.if !exists(/usr/lib/libmilter.so)
+MILTER_LIB_DEPENDS+=	libmilter.so:mail/libmilter
+.endif
 MILTER_USE=		RC_SUBR=clamav-milter
 MSPACK_CONFIGURE_WITH=	system-libmspack=${LOCALBASE}/lib/libmspack.so
 MSPACK_LIB_DEPENDS=	libmspack.so:archivers/libmspack



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