Re: git: 0dd69d0adfd2 - main - mail/dovecot: Add FLAVORs for CDB, LDAP, MYSQL, PGSQL, and SQLITE3
Date: Sat, 16 Apr 2022 00:16:48 UTC
You also broke installing dovecot-pigeonhole with a non-default dovecot build. PLEASE REVERT. On 04/15/2022 7:00 pm, Larry Rosenman wrote: > And how do I now tell poudriere to build the pgsql version? > > You broke my build process without an UPDATING entry. > > this is why the PR was sitting..... > > > On 04/15/2022 5:48 pm, Neel Chauhan wrote: >> The branch main has been updated by nc: >> >> URL: >> https://cgit.FreeBSD.org/ports/commit/?id=0dd69d0adfd2ef48dc949bb2325c2c534117fc29 >> >> commit 0dd69d0adfd2ef48dc949bb2325c2c534117fc29 >> Author: Neel Chauhan <nc@FreeBSD.org> >> AuthorDate: 2022-04-15 22:47:24 +0000 >> Commit: Neel Chauhan <nc@FreeBSD.org> >> CommitDate: 2022-04-15 22:48:18 +0000 >> >> mail/dovecot: Add FLAVORs for CDB, LDAP, MYSQL, PGSQL, and SQLITE3 >> >> PR: 254164 >> Approved by: maintainer timeout (>1 year) >> --- >> mail/dovecot/Makefile | 24 ++++++++++++++++++++++++ >> 1 file changed, 24 insertions(+) >> >> diff --git a/mail/dovecot/Makefile b/mail/dovecot/Makefile >> index 0379f598643f..4b96bf4c4506 100644 >> --- a/mail/dovecot/Makefile >> +++ b/mail/dovecot/Makefile >> @@ -23,6 +23,14 @@ LIB_DEPENDS= libzstd.so:archivers/zstd >> 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-docs \ >> @@ -48,6 +56,22 @@ OPTIONS_GROUP_FTS= ICU LUCENE SOLR TEXTCAT >> 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 >> + >> DB_DESC= Database support >> CDB_DESC= CDB database support -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106