aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2012-01-02 21:03:30 +0800
committerrm <rm@FreeBSD.org>2012-01-02 21:03:30 +0800
commit68306378c1bf2fd9bcf19b6c82fda9d93d47faaa (patch)
tree4d575247f2c475106335291941c746eb5b50cbfb /mail
parent1a7091079611684141a4d051bfabfe8fabc024a1 (diff)
downloadfreebsd-ports-gnome-68306378c1bf2fd9bcf19b6c82fda9d93d47faaa.tar.gz
freebsd-ports-gnome-68306378c1bf2fd9bcf19b6c82fda9d93d47faaa.tar.zst
freebsd-ports-gnome-68306378c1bf2fd9bcf19b6c82fda9d93d47faaa.zip
- fix WITH_CLAMAV option handling, that was done before inclusion of bsd.ports.pre.mk [1]
- bump PORTREVISION PR: 163760 [1] Submitted by: John Marshall <john.marshall at riverwillow dot com.au> Approved by: maintainer
Diffstat (limited to 'mail')
-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