summaryrefslogtreecommitdiff
path: root/mail/qpopper/options.mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-06-01 21:12:28 +0000
committerwiz <wiz@pkgsrc.org>2005-06-01 21:12:28 +0000
commitb5d0c96ec7c4f0aeddb2c176f7e9f628cef8f6f4 (patch)
tree6790e990c04bf7f5d60f50c2eed0cbb4f5b4fce2 /mail/qpopper/options.mk
parent07135079d7646fec7d2a897be575eb7f6194ed78 (diff)
downloadpkgsrc-b5d0c96ec7c4f0aeddb2c176f7e9f628cef8f6f4.tar.gz
Add drac, kerberos, and qpopper-servermode options.
Replace PAM with pam.
Diffstat (limited to 'mail/qpopper/options.mk')
-rw-r--r--mail/qpopper/options.mk21
1 files changed, 18 insertions, 3 deletions
diff --git a/mail/qpopper/options.mk b/mail/qpopper/options.mk
index 7a56d3a67cd..0e7c354b394 100644
--- a/mail/qpopper/options.mk
+++ b/mail/qpopper/options.mk
@@ -1,8 +1,9 @@
-# $NetBSD: options.mk,v 1.6 2005/06/01 21:09:02 adrianp Exp $
+# $NetBSD: options.mk,v 1.7 2005/06/01 21:12:28 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.qpopper
-PKG_SUPPORTED_OPTIONS= inet6 ssl PAM
+PKG_SUPPORTED_OPTIONS= drac inet6 kerberos pam qpopper-servermode ssl
PKG_SUGGESTED_OPTIONS= ssl
+PKG_OPTIONS_LEGACY_VARS+= QPOPPER_SERVERMODE:qpopper-servermode
.include "../../mk/bsd.options.mk"
@@ -20,9 +21,23 @@ CONFIGURE_ARGS+= --disable-ipv6
.endif
# Please note this is currently experimental for platforms that support it
-.if !empty(PKG_OPTIONS:MPAM)
+.if !empty(PKG_OPTIONS:Mpam)
. include "../../mk/pam.buildlink3.mk"
CONFIGURE_ARGS+= --with-pam
.else
CONFIGURE_ARGS+= --without-pam
.endif
+
+.if !empty(PKG_OPTIONS:Mkerberos)
+PKG_USE_KERBEROS= # defined
+CONFIGURE_ARGS+= --enable-kerberos
+.endif
+
+.if !empty(PKG_OPTIONS:Mqpopper-servermode)
+CONFIGURE_ARGS+= --enable-servermode
+.endif
+
+.if !empty(PKG_OPTIONS:Mdrac)
+.include "../../mail/drac/buildlink3.mk"
+CONFIGURE_ARGS+= --with-drac=${BUILDLINK_PREFIX.drac}
+.endif