summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorbad <bad@pkgsrc.org>1999-06-08 11:54:08 +0000
committerbad <bad@pkgsrc.org>1999-06-08 11:54:08 +0000
commit539e94f46cb8fabeaaf02ccf0ba179bb65865d21 (patch)
tree5e2709f1b2b830569d9b9bf3128f0351866d0481 /mail
parentc2a6871eadacd05b4b69e8c2543cd313848f5ea3 (diff)
downloadpkgsrc-539e94f46cb8fabeaaf02ccf0ba179bb65865d21.tar.gz
Enable server mode if QPOPPER_SERVERMODE is defined in /etc/mk.conf.
Diffstat (limited to 'mail')
-rw-r--r--mail/qpopper/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/qpopper/Makefile b/mail/qpopper/Makefile
index 7a93047683f..f1f629acb55 100644
--- a/mail/qpopper/Makefile
+++ b/mail/qpopper/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 1999/02/20 22:48:34 hubertf Exp $
+# $NetBSD: Makefile,v 1.14 1999/06/08 11:54:08 bad Exp $
#
DISTNAME= qpopper2.53
@@ -17,6 +17,12 @@ CONFIGURE_ARGS+= --libexecdir=${PREFIX}/libexec \
--sysconfdir=${PREFIX}/etc --enable-apop \
--with-apop=/etc/apop.auth --with-apopuid=root
+.include "../../mk/bsd.prefs.mk"
+
+.if defined(QPOPPER_SERVERMODE)
+CONFIGURE_ARGS+= --enable-servermode
+.endif
+
# popper makefile doesn't have an install target...
do-install:
(cd ${WRKSRC}; \