1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

security/clamav: Fix build after r541115

Fix build when base system is built with WITHOUT_SENDMAIL=yes

PR:		247792
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org> (maintainer)
This commit is contained in:
Li-Wen Hsu 2020-08-20 09:54:34 +00:00
parent 1a7c75352f
commit 3c416c406f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=545517

View File

@ -91,6 +91,8 @@ LHA_RUN_DEPENDS= lha:archivers/lha
MILTER_CONFIGURE_WITH= sendmail=/usr/sbin/sendmail
MILTER_CONFIGURE_ENABLE=milter
.if !exists(/usr/lib/libmilter.so)
MILTER_CFLAGS= -I${LOCALBASE}/include
MILTER_LDFLAGS= -L${LOCALBASE}/lib
MILTER_LIB_DEPENDS+= libmilter.so:mail/libmilter
.endif
MILTER_USE= RC_SUBR=clamav-milter