3 PKG_OPTIONS_VAR= PKG_OPTIONS.horde
4 PKG_SUPPORTED_OPTIONS= ldap postgresql73 postgresql74 mysql
6 .if !defined(PKG_OPTIONS.horde)
7 PKG_DEFAULT_OPTIONS+= mysql
9 .include "../../mk/bsd.options.mk"
12 ### Can't support both versions of PostgreSQL
14 .if !empty(PKG_OPTIONS:Mpostgresql73) && !empty(PKG_OPTIONS:Mpostgresql74)
15 PKG_FAIL_REASON+= "PostgreSQL 7.3 and 7.4 cannot both be compiled in." \
16 "Please change ${PKG_OPTIONS_VAR} to one or the other."
20 ### Use OpenLDAP for storing user details
22 .if !empty(PKG_OPTIONS:Mldap)
23 . include "../../databases/openldap/buildlink3.mk"
24 DEPENDS+= php-ldap>=4.3.3:../../databases/php-ldap
28 ### Use PostgreSQL v7.3 for storing user details
30 .if !empty(PKG_OPTIONS:Mpostgresql73)
31 . include "../../databases/postgresql73-lib/buildlink3.mk"
32 DEPENDS+= php-pgsql>=4.3.3:../../databases/php-pgsql
36 ### Use PostgreSQL v7.4 for storing user details
38 .if !empty(PKG_OPTIONS:Mpostgresql74)
39 . include "../../databases/postgresql74-lib/buildlink3.mk"
40 DEPENDS+= php-pgsql>=4.3.3:../../databases/php-pgsql
44 ### Use MySQL for storing user details
46 .if !empty(PKG_OPTIONS:Mmysql)
47 . include "../../mk/mysql.buildlink3.mk"
48 DEPENDS+= php-mysql>=4.3.3:../../databases/php-mysql