summaryrefslogtreecommitdiff
path: root/net/Radicale/options.mk
diff options
context:
space:
mode:
authorwiz <wiz>2015-01-28 20:39:54 +0000
committerwiz <wiz>2015-01-28 20:39:54 +0000
commitd5daee1a54f8c420bfe98487c9e22b8853dea214 (patch)
tree1f5c2d2fb9c6f798dd38dd714387873927119fa5 /net/Radicale/options.mk
parent3c9fa9b3971e18a37c18501f0b98ecff9faa966b (diff)
downloadpkgsrc-d5daee1a54f8c420bfe98487c9e22b8853dea214.tar.gz
Add ldap option, and mark as 2.x only when either option is selected.
Diffstat (limited to 'net/Radicale/options.mk')
-rw-r--r--net/Radicale/options.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/net/Radicale/options.mk b/net/Radicale/options.mk
index 775401662cd..1213a7dbeac 100644
--- a/net/Radicale/options.mk
+++ b/net/Radicale/options.mk
@@ -1,10 +1,16 @@
-# $NetBSD: options.mk,v 1.1 2015/01/28 07:22:51 wiz Exp $
+# $NetBSD: options.mk,v 1.2 2015/01/28 20:39:54 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.Radicale
-PKG_SUPPORTED_OPTIONS= git
+PKG_SUPPORTED_OPTIONS= git ldap
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mgit)
+PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-dulwich
DEPENDS+= ${PYPKGPREFIX}-dulwich-[0-9]*:../../devel/py-dulwich
.endif
+
+.if !empty(PKG_OPTIONS:Mldap)
+PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-ldap
+DEPENDS+= ${PYPKGPREFIX}-ldap-[0-9]*:../../databases/py-ldap
+.endif