aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/mimedefang/Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/mail/mimedefang/Makefile b/mail/mimedefang/Makefile
index 7085ebbb0af6..79f61d5a7cf7 100644
--- a/mail/mimedefang/Makefile
+++ b/mail/mimedefang/Makefile
@@ -7,7 +7,7 @@
PORTNAME= mimedefang
PORTVERSION= 2.72
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= http://www.mimedefang.org/static/
@@ -42,15 +42,6 @@ CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc \
--with-ipheader \
--prefix=${PREFIX}
-.if defined (MIMEDEFANG_DISABLE_CLAMAV) || defined(WITHOUT_CLAMAV)
-CONFIGURE_ARGS+= --disable-antivirus \
- --disable-clamav \
- --disable-clamd
-.else
-BUILD_DEPENDS+= clamscan:${PORTSDIR}/security/clamav
-RUN_DEPENDS+= clamscan:${PORTSDIR}/security/clamav
-.endif
-
MAN1= mimedefang-util.1
MAN5= mimedefang-filter.5
MAN7= mimedefang-notify.7 mimedefang-protocol.7
@@ -71,6 +62,15 @@ BUILD_DEPENDS+= ${LOCALBASE}/include/libmilter/mfapi.h:${PORTSDIR}/mail/sendmail
CONFIGURE_ARGS+= --with-milterinc=${LOCALBASE}/include --with-milterlib=${LOCALBASE}/lib
.endif
+.if defined (MIMEDEFANG_DISABLE_CLAMAV) || defined(WITHOUT_CLAMAV)
+CONFIGURE_ARGS+= --disable-antivirus \
+ --disable-clamav \
+ --disable-clamd
+.else
+BUILD_DEPENDS+= clamscan:${PORTSDIR}/security/clamav
+RUN_DEPENDS+= clamscan:${PORTSDIR}/security/clamav
+.endif
+
post-patch:
@${REINPLACE_CMD} -e '/fgrep -e/d' ${WRKSRC}/configure