git: 91c48066ad5a - main - mail/dovecot-pigeonhole: add mysql & pgsql flavors to match mail/dovecot
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 11 Jan 2025 19:42:35 UTC
The branch main has been updated by ler:
URL: https://cgit.FreeBSD.org/ports/commit/?id=91c48066ad5ac1bc6e3f3be5782abfff9d1fbde5
commit 91c48066ad5ac1bc6e3f3be5782abfff9d1fbde5
Author: Larry Rosenman <ler@FreeBSD.org>
AuthorDate: 2025-01-11 19:41:14 +0000
Commit: Larry Rosenman <ler@FreeBSD.org>
CommitDate: 2025-01-11 19:42:33 +0000
mail/dovecot-pigeonhole: add mysql & pgsql flavors to match mail/dovecot
Add flavors to support mail/dovecot changes.
---
mail/dovecot-pigeonhole/Makefile | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/mail/dovecot-pigeonhole/Makefile b/mail/dovecot-pigeonhole/Makefile
index d7209b52ed68..b52ed8a710ed 100644
--- a/mail/dovecot-pigeonhole/Makefile
+++ b/mail/dovecot-pigeonhole/Makefile
@@ -11,8 +11,22 @@ WWW= https://pigeonhole.dovecot.org/
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING.LGPL
+FLAVORS= default mysql pgsql
+FLAVOR?= ${FLAVORS[1]}
+mysql_PKGNAMESUFFIX= -mysql
+pgsql_PKGNAMESUFFIX= -pgsql
+.if ${FLAVOR:U} == default
BUILD_DEPENDS= dovecot>=2.3.9:mail/dovecot
RUN_DEPENDS= dovecot>=2.3.9:mail/dovecot
+.endif
+.if ${FLAVOR:U} == mysql
+BUILD_DEPENDS= dovecot-mysql>=2.3.9:mail/dovecot@mysql
+RUN_DEPENDS= dovecot-mysql>=2.3.9:mail/dovecot@mysql
+.endif
+.if ${FLAVOR:U} == pgsql
+BUILD_DEPENDS= dovecot-pgsql>=2.3.9:mail/dovecot@pgsql
+RUN_DEPENDS= dovecot-pgsql>=2.3.9:mail/dovecot@pgsql
+.endif
DOVECOTVERSION= 2.3