Date: Fri, 15 Mar 2019 05:02:15 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r495764 - head/mail/mimedefang Message-ID: <201903150502.x2F52Fol067328@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Fri Mar 15 05:02:15 2019 New Revision: 495764 URL: https://svnweb.freebsd.org/changeset/ports/495764 Log: mail/mimedefang: Fix CLAMAV option Options helpers are ineffective when set after bsd.port.options.mk. Move them before that point. Reported by: tobik (in D19553) Modified: head/mail/mimedefang/Makefile Modified: head/mail/mimedefang/Makefile ============================================================================== --- head/mail/mimedefang/Makefile Fri Mar 15 04:50:27 2019 (r495763) +++ head/mail/mimedefang/Makefile Fri Mar 15 05:02:15 2019 (r495764) @@ -3,7 +3,7 @@ PORTNAME= mimedefang PORTVERSION= 2.83 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail MASTER_SITES= http://www.mimedefang.org/static/ \ http://fossies.org/linux/misc/ @@ -21,10 +21,6 @@ BUILD_DEPENDS= \ spamassassin>=3.0:mail/spamassassin RUN_DEPENDS:= ${BUILD_DEPENDS} -OPTIONS_DEFINE= CLAMAV EXAMPLES DOCS -OPTIONS_DEFAULT= CLAMAV -CLAMAV_DESC= Enable Clamav - USES= perl5 shebangfix perl_OLD_CMD= perl GNU_CONFIGURE= yes @@ -52,15 +48,20 @@ PLIST_SUB+= USER="${MIMEDEFANG_USER}" \ CONFIG_FILES= mimedefang-filter sa-mimedefang.cf mimedefang-ip-key +OPTIONS_DEFINE= CLAMAV EXAMPLES DOCS +OPTIONS_DEFAULT= CLAMAV + +CLAMAV_DESC= Enable Clamav + +CLAMAV_BUILD_DEPENDS= clamscan:security/clamav +CLAMAV_RUN_DEPENDS= clamscan:security/clamav +CLAMAV_CONFIGURE_ENABLE= antivirus clamav clamd + .include <bsd.port.options.mk> .include "${PORTSDIR}/mail/sendmail/bsd.milter.mk" CONFIGURE_ARGS+= --with-milterinc=${MILTERBASE}/include --with-milterlib=${MILTERBASE}/lib - -CLAMAV_BUILD_DEPENDS+= clamscan:security/clamav -CLAMAV_RUN_DEPENDS+= clamscan:security/clamav -CLAMAV_CONFIGURE_ENABLE+= antivirus clamav clamd post-patch: @${REINPLACE_CMD} -e '/fgrep -e/d' ${WRKSRC}/configure
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903150502.x2F52Fol067328>