svn commit: r488541 - head/security/clamav

Steve Wills swills at FreeBSD.org
Thu Dec 27 13:17:40 UTC 2018


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 at 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


More information about the svn-ports-all mailing list