aboutsummaryrefslogtreecommitdiffstats
path: root/mail/qmailadmin-devel
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2003-07-21 19:39:42 +0800
committerroam <roam@FreeBSD.org>2003-07-21 19:39:42 +0800
commit7b859132381038126aa1e5a080c4b6a1ee0c6f6c (patch)
treee3bfb64b363d163a81c1fbb5c256738769437657 /mail/qmailadmin-devel
parent080ce3c875f9dcd50e99f733432e49d1c88fbb14 (diff)
downloadfreebsd-ports-gnome-7b859132381038126aa1e5a080c4b6a1ee0c6f6c.tar.gz
freebsd-ports-gnome-7b859132381038126aa1e5a080c4b6a1ee0c6f6c.tar.zst
freebsd-ports-gnome-7b859132381038126aa1e5a080c4b6a1ee0c6f6c.zip
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-devel')
-rw-r--r--mail/qmailadmin-devel/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/mail/qmailadmin-devel/Makefile b/mail/qmailadmin-devel/Makefile
index 04d3ab5df473..3c28ae8cae1b 100644
--- a/mail/qmailadmin-devel/Makefile
+++ b/mail/qmailadmin-devel/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