summaryrefslogtreecommitdiff
path: root/net/couriertcpd
diff options
context:
space:
mode:
authorjlam <jlam>2007-09-21 14:12:19 +0000
committerjlam <jlam>2007-09-21 14:12:19 +0000
commitc53665a99187b031b9628c3f00cdc9970c74b2cf (patch)
treef5c141baf5f3958e675aa4f102a93c9786a182f9 /net/couriertcpd
parent252e49ee1099ab8c7f4654cc13d3c31ff1c14931 (diff)
downloadpkgsrc-c53665a99187b031b9628c3f00cdc9970c74b2cf.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 'net/couriertcpd')
-rw-r--r--net/couriertcpd/Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/net/couriertcpd/Makefile b/net/couriertcpd/Makefile
index e1747b1be15..688c96cb242 100644
--- a/net/couriertcpd/Makefile
+++ b/net/couriertcpd/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2007/09/17 15:28:03 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2007/09/21 14:12:19 jlam Exp $
DISTNAME= courier-${COURIER_VERSION}
PKGNAME= ${DISTNAME:S/-/tcpd-/}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=courier/}
EXTRACT_SUFX= .tar.bz2
@@ -16,6 +16,18 @@ CONFLICTS= courier-imap<4.11
USE_TOOLS+= gmake
USE_LANGUAGES= c c++
+PKG_OPTIONS_VAR= PKG_OPTIONS.couriertcpd
+PKG_SUPPORTED_OPTIONS= inet6
+PKG_SUGGESTED_OPTIONS= inet6
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+= --with-ipv6
+.else
+CONFIGURE_ARGS+= --without-ipv6
+.endif
+
.include "../../mail/courier-mta/Makefile.common"
# This package doesn't need to depend on courier-authlib -- just fake