Date: Sat, 11 Jan 2025 19:01:37 GMT From: Larry Rosenman <ler@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: d4e949bafdb4 - main - mail/dovecot: add mysql & pgsql flavors Message-ID: <202501111901.50BJ1b4F000437@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by ler: URL: https://cgit.FreeBSD.org/ports/commit/?id=d4e949bafdb4e842868267d26a357c9921d3efeb commit d4e949bafdb4e842868267d26a357c9921d3efeb Author: Larry Rosenman <ler@FreeBSD.org> AuthorDate: 2025-01-11 18:59:21 +0000 Commit: Larry Rosenman <ler@FreeBSD.org> CommitDate: 2025-01-11 18:59:21 +0000 mail/dovecot: add mysql & pgsql flavors Add database flavors for dovecot --- mail/dovecot/Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/mail/dovecot/Makefile b/mail/dovecot/Makefile index 4fc43b254226..0bddbb8bed39 100644 --- a/mail/dovecot/Makefile +++ b/mail/dovecot/Makefile @@ -21,6 +21,11 @@ WWW= https://www.dovecot.org/ LICENSE= LGPL21 MIT LICENSE_COMB= dual +FLAVORS= default mysql pgsql +FLAVOR?= ${FLAVORS[1]} +mysql_PKGNAMESUFFIX= -mysql +pgsql_PKGNAMESUFFIX= -pgsql + LIB_DEPENDS= libzstd.so:archivers/zstd USES= cpe iconv libtool pkgconfig ssl @@ -112,10 +117,18 @@ LUCENE_CONFIGURE_WITH= lucene stemmer LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4 LZ4_CONFIGURE_WITH= lz4 +.if ${FLAVOR:U} == mysql +OPTIONS_DEFAULT+= MYSQL +.endif + MYSQL_USES= mysql MYSQL_CONFIGURE_WITH= mysql MYSQL_VARS= _REQUIRE+=mysql +.if ${FLAVOR:U} == pgsql +OPTIONS_DEFAULT+= PGSQL +.endif + PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= pgsql PGSQL_VARS= _REQUIRE+=postgresql
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501111901.50BJ1b4F000437>