diff options
author | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2012-01-02 21:03:30 +0800 |
---|---|---|
committer | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2012-01-02 21:03:30 +0800 |
commit | ed2f8c79d9851730ae0e2231bfd3160c5a5b3ffe (patch) | |
tree | da636bf9d65b02da77e60d17d97a3e5595e1eba5 /mail | |
parent | b81c8ad0dc50438ae6f5ef2c0e0d90a3098a1281 (diff) | |
download | freebsd-ports-gnome-ed2f8c79d9851730ae0e2231bfd3160c5a5b3ffe.tar.gz freebsd-ports-gnome-ed2f8c79d9851730ae0e2231bfd3160c5a5b3ffe.tar.zst freebsd-ports-gnome-ed2f8c79d9851730ae0e2231bfd3160c5a5b3ffe.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/Makefile | 20 |
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 |