summaryrefslogtreecommitdiff
path: root/devel/mantis
diff options
context:
space:
mode:
authorryoon <ryoon>2016-09-01 13:20:55 +0000
committerryoon <ryoon>2016-09-01 13:20:55 +0000
commitc7803482db6219d808c7cd41e25957c4f86c9d35 (patch)
tree3c40b0b2f87582f2c176692017449063c330a9ae /devel/mantis
parent383daf9524ca8cbf0fa8d60611c72cfbfc029beb (diff)
downloadpkgsrc-c7803482db6219d808c7cd41e25957c4f86c9d35.tar.gz
Add ldap option
Diffstat (limited to 'devel/mantis')
-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