31 lines
807 B
Makefile
31 lines
807 B
Makefile
# $NetBSD: options.mk,v 1.1 2006/06/16 09:23:21 adrianp Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.horde
|
|
PKG_SUPPORTED_OPTIONS= ldap pgsql mysql
|
|
PKG_SUGGESTED_OPTIONS= mysql
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
###
|
|
### Use OpenLDAP for storing user details
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mldap)
|
|
. include "../../databases/openldap-client/buildlink3.mk"
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-ldap>=4.3.3:../../databases/php-ldap
|
|
.endif
|
|
|
|
###
|
|
### Use PostgreSQL for storing user details
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mpgsql)
|
|
. include "../../mk/pgsql.buildlink3.mk"
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=4.3.3:../../databases/php-pgsql
|
|
.endif
|
|
|
|
###
|
|
### Use MySQL for storing user details
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mmysql)
|
|
. include "../../mk/mysql.buildlink3.mk"
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=4.3.3:../../databases/php-mysql
|
|
.endif
|