summaryrefslogtreecommitdiffstats
path: root/mail/qmailadmin
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2003-07-21 11:39:42 +0000
committerroam <roam@FreeBSD.org>2003-07-21 11:39:42 +0000
commit7b859132381038126aa1e5a080c4b6a1ee0c6f6c (patch)
treee3bfb64b363d163a81c1fbb5c256738769437657 /mail/qmailadmin
parent080ce3c875f9dcd50e99f733432e49d1c88fbb14 (diff)
downloadFreeBSD-ports-7b859132381038126aa1e5a080c4b6a1ee0c6f6c.zip
FreeBSD-ports-7b859132381038126aa1e5a080c4b6a1ee0c6f6c.tar.gz
Add the WITHOUT_IDX knob to enable building with ezmlm instead of
the full-fledged ezmlm-idx. No change to the default configuration, thus no PORTREVISION bump. PR: 54693 Submitted by: Alex Dupre <sysadmin@alexdupre.com>
Diffstat (limited to 'mail/qmailadmin')
-rw-r--r--mail/qmailadmin/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/mail/qmailadmin/Makefile b/mail/qmailadmin/Makefile
index 04d3ab5..3c28ae8 100644
--- a/mail/qmailadmin/Makefile
+++ b/mail/qmailadmin/Makefile
@@ -17,14 +17,20 @@ COMMENT= CGI program for administering Qmail with vchkpw/vpopmail
BUILD_DEPENDS= \
${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail \
autorespond:${PORTSDIR}/mail/autorespond \
- ezmlm-idx:${PORTSDIR}/mail/ezmlm-idx \
${LOCALBASE}/vpopmail/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail
RUN_DEPENDS= \
${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail \
autorespond:${PORTSDIR}/mail/autorespond \
- ezmlm-idx:${PORTSDIR}/mail/ezmlm-idx \
${LOCALBASE}/vpopmail/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail
+.if defined(WITHOUT_IDX)
+BUILD_DEPENDS+= ezmlm-send:${PORTSDIR}/mail/ezmlm
+RUN_DEPENDS+= ezmlm-send:${PORTSDIR}/mail/ezmlm
+.else
+BUILD_DEPENDS+= ezmlm-idx:${PORTSDIR}/mail/ezmlm-idx
+RUN_DEPENDS+= ezmlm-idx:${PORTSDIR}/mail/ezmlm-idx
+.endif
+
GNU_CONFIGURE= YES
USE_GMAKE= YES
OpenPOWER on IntegriCloud