From 3275106c146ef946b23939b845659d4fb9f5eec3 Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 28 Jan 2015 20:39:54 +0000 Subject: Add ldap option, and mark as 2.x only when either option is selected. --- net/Radicale/options.mk | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'net/Radicale') 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 -- cgit v1.2.3