summaryrefslogtreecommitdiff
path: root/mail/courier-mta/options.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2007-09-21 14:12:19 +0000
committerjlam <jlam@pkgsrc.org>2007-09-21 14:12:19 +0000
commit5950600b9cc8d7ad82b13d64d2ba851b236e7f59 (patch)
treef5c141baf5f3958e675aa4f102a93c9786a182f9 /mail/courier-mta/options.mk
parente791a44cd3313c2c8aacfd2484a8f4c8598fb7a0 (diff)
downloadpkgsrc-5950600b9cc8d7ad82b13d64d2ba851b236e7f59.tar.gz
Allow "inet6" as a package option for net/couriertcpd and
mail/courier-mta. Modify mail/courier-imap to build regardless of the platforms IPv6 support and update meta-pkg/courier to the latest versions of the Courier mail server suite. Bump the PKGREVISIONs of the following packages: mail/courier-mta --> 7 meta-pkgs/courier --> 3 net/couriertcpd --> 2 This fixes PR pkg/37013 by Aleksej Saushev.
Diffstat (limited to 'mail/courier-mta/options.mk')
-rw-r--r--mail/courier-mta/options.mk17
1 files changed, 14 insertions, 3 deletions
diff --git a/mail/courier-mta/options.mk b/mail/courier-mta/options.mk
index 8cb430339e2..614ee8f2bde 100644
--- a/mail/courier-mta/options.mk
+++ b/mail/courier-mta/options.mk
@@ -1,11 +1,11 @@
-# $NetBSD: options.mk,v 1.7 2007/09/07 14:11:20 jlam Exp $
+# $NetBSD: options.mk,v 1.8 2007/09/21 14:12:19 jlam Exp $
# Global and legacy options
PKG_OPTIONS_VAR= PKG_OPTIONS.courier-mta
PKG_SUPPORTED_OPTIONS= courier-dsn courier-esmtp courier-local \
- courier-uucp ldap
-PKG_SUGGESTED_OPTIONS= courier-dsn courier-esmtp courier-local
+ courier-uucp inet6 ldap
+PKG_SUGGESTED_OPTIONS= courier-dsn courier-esmtp courier-local inet6
.include "../../mk/bsd.options.mk"
@@ -111,6 +111,17 @@ CONF_FILES_PERMS+= ${EGDIR}/module.uucp \
PKG_FAIL_REASON+= "[courier/options.mk] No mail transports specified."
.endif
+
+######################################################################
+###
+### IPv6 support (used by Courier ESMTP client)
+###
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+= --with-ipv6
+.else
+CONFIGURE_ARGS+= --without-ipv6
+.endif
+
######################################################################
###
### LDAP alias lookup support