aboutsummaryrefslogtreecommitdiff
path: root/security/clamav
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2020-08-20 09:54:34 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2020-08-20 09:54:34 +0000
commit3c416c406fd96669a6fdf0bd1e433cc9e6ee203f (patch)
tree459db1451ff19de2ec07aa337b57c484c597d748 /security/clamav
parent1a7c75352f105bd92c4d7b45e6c3b72e77031f6f (diff)
downloadports-3c416c406fd96669a6fdf0bd1e433cc9e6ee203f.tar.gz
ports-3c416c406fd96669a6fdf0bd1e433cc9e6ee203f.zip
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)
Notes
Notes: svn path=/head/; revision=545517
Diffstat (limited to 'security/clamav')
-rw-r--r--security/clamav/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/security/clamav/Makefile b/security/clamav/Makefile
index f485552c8f05..4baa0e81a2b5 100644
--- a/security/clamav/Makefile
+++ b/security/clamav/Makefile
@@ -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