svn commit: r495764 - head/mail/mimedefang
Tobias Kortkamp
tobik at FreeBSD.org
Fri Mar 15 05:02:16 UTC 2019
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
More information about the svn-ports-all
mailing list