Replace nonfunctional check for libmilter with one that works.

Poked by:       fozzy@kievweb.net.ua
This commit is contained in:
Maxim Sobolev 2002-05-26 10:57:41 +00:00
parent bc0663a669
commit 5edeea482d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60018

View File

@ -21,8 +21,8 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/opt/drweb/clients/sources/drwebdc
INST_PREFIX= ${PREFIX}/${PORTNAME}
DOC_DIR= ${PREFIX}/share/doc/drweb-sendmail
.if !exists( /usr/include/libmilter/mfapi.h ) && !exists( ${LOCALBASE}/include/libmilter/mfapi.h )
IGNORE= "requires libmilter installed. Upgrade your FreeBSD system or sendmail package/port"
.if !exists( /usr/include/libmilter/mfapi.h )
BUILD_DEPENDS+= ${LOCALBASE}/include/libmilter/mfapi.h:${PORTSDIR}/mail/sendmail
.endif
.if !defined(WITH_DRWEBSMF_HOSTNAME)