diff options
author | itetcu <itetcu@FreeBSD.org> | 2006-07-08 05:19:05 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2006-07-08 05:19:05 +0800 |
commit | b7e0d2e40ead3cbe079d6cf0e77b63f9bb85a839 (patch) | |
tree | c47b630d288cae1b16403950f4c6a902280223f4 /mail/dspam | |
parent | d10733e7ad7b7a683dfe43309dda54d25e2c692a (diff) | |
download | freebsd-ports-gnome-b7e0d2e40ead3cbe079d6cf0e77b63f9bb85a839.tar.gz freebsd-ports-gnome-b7e0d2e40ead3cbe079d6cf0e77b63f9bb85a839.tar.zst freebsd-ports-gnome-b7e0d2e40ead3cbe079d6cf0e77b63f9bb85a839.zip |
Fix CLAMAV[_DEVEL][_LOCAL] logic so one can use clamav w/o CLAMAV_LOCAL.
PR: ports/98709
Submitted by: Artis Caune <Artis.Caune@latnet.lv>
Diffstat (limited to 'mail/dspam')
-rw-r--r-- | mail/dspam/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/mail/dspam/Makefile b/mail/dspam/Makefile index 8f34cb5fc5b6..dee06eff5965 100644 --- a/mail/dspam/Makefile +++ b/mail/dspam/Makefile @@ -179,18 +179,23 @@ SUB_LIST+= DSPAM_HOME=${DSPAM_HOME} _SED_SCRIPT+= -e '/%%DAEMON%%/D' .endif -.ifndef(WITHOUT_CLAMAV) && !defined(WITHOUT_CLAMAV_LOCAL) +.ifndef(WITHOUT_CLAMAV) CONFIGURE_ARGS+= --enable-clamav +. ifndef(WITHOUT_CLAMAV_LOCAL) RUN_DEPENDS+= clamav>=0:${PORTSDIR}/security/clamav SUB_LIST+= CLAMD=clamd +. else +SUB_LIST+= CLAMD= +. endif .endif -.ifdef(WITH_CLAMAV_DEVEL) && !defined(WITHOUT_CLAMAV_LOCAL) +.ifdef(WITH_CLAMAV_DEVEL) CONFIGURE_ARGS+= --enable-clamav +. ifndef(WITHOUT_CLAMAV_LOCAL) RUN_DEPENDS+= clamav-devel>=0:${PORTSDIR}/security/clamav-devel SUB_LIST+= CLAMD=clamd -.endif -.ifdef(WITHOUT_CLAMAV_LOCAL) +. else SUB_LIST+= CLAMD= +. endif .endif # we need to know if we are building statically or dynamicaly for the plist |