Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146035989
D28719.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
990 B
Referenced Files
None
Subscribers
None
D28719.diff
View Options
Index: mail/dovecot/Makefile
===================================================================
--- mail/dovecot/Makefile
+++ mail/dovecot/Makefile
@@ -23,6 +23,14 @@
USES= cpe iconv libtool pkgconfig ssl
USE_RC_SUBR= dovecot
+FLAVORS= default cdb ldap mysql pgsql sqlite3
+FLAVOR?= ${FLAVORS:[1]}
+cdb_PKGNAMESUFFIX= -cdb
+ldap_PKGNAMESUFFIX= -ldap
+mysql_PKGNAMESUFFIX= -mysql
+pgsql_PKGNAMESUFFIX= -pgsql
+sqlite3_PKGNAMESUFFIX= -sqlite3
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var \
--with-statedir=/var/db/dovecot \
@@ -46,6 +54,22 @@
OPTIONS_SINGLE= GSSAPI
OPTIONS_SINGLE_GSSAPI= GSSAPI_NONE GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT
+
+.if ${FLAVOR} == cdb
+OPTIONS_DEFAULT+= CDB
+.endif
+.if ${FLAVOR} == ldap
+OPTIONS_DEFAULT+= LDAP
+.endif
+.if ${FLAVOR} == mysql
+OPTIONS_DEFAULT+= MYSQL
+.endif
+.if ${FLAVOR} == pgsql
+OPTIONS_DEFAULT+= PGSQL
+.endif
+.if ${FLAVOR} == sqlite3
+OPTIONS_DEFAULT+= SQLITE3
+.endif
LZ4_DESC= LZ4 compression support
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 28, 6:12 AM (12 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29055883
Default Alt Text
D28719.diff (990 B)
Attached To
Mode
D28719: mail/dovecot: Add FLAVORs for CDB, LDAP, MYSQL, PGSQL, and SQLITE3
Attached
Detach File
Event Timeline
Log In to Comment