summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/mantis/options.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/mantis/options.mk b/devel/mantis/options.mk
index 94e238b40f6..f58e60dab29 100644
--- a/devel/mantis/options.mk
+++ b/devel/mantis/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.2 2016/08/30 12:37:43 ryoon Exp $
+# $NetBSD: options.mk,v 1.3 2016/09/01 13:20:55 ryoon Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mantis
PKG_OPTIONS_REQUIRED_GROUPS= db
@@ -8,6 +8,10 @@ PKG_SUGGESTED_OPTIONS+= mysql
.include "../../mk/bsd.options.mk"
+.if !empty(PKG_OPTIONS:Mldap)
+DEPENDS+= ${PHP_PKG_PREFIX}-ldap-[0-9]*:../../databases/php-ldap
+.endif
+
.if !empty(PKG_OPTIONS:Mcharts)
DEPENDS+= ${PHP_PKG_PREFIX}-jpgraph-[0-9]*:../../graphics/php-jpgraph
.endif