git: 7e54bcffccfa - main - mail/postfix-current: chase devel/mongo-c-driver update
Yusuf Yaman <[email protected]> Tue, 04 Aug 2026 11:47:17 +0000
| Newsgroups | gmane.os.freebsd.devel.cvs.ports |
|---|---|
| Message-ID | <6a71d145.1e31f.3c52f92f__21956.468412985$1785844099$gmane$org@gitrepo.freebsd.org> |
The branch main has been updated by nxjoseph: URL: https://cgit.FreeBSD.org/ports/commit/?id=7e54bcffccfa7af0f36cabf373013588cc43f459 commit 7e54bcffccfa7af0f36cabf373013588cc43f459 Author: Hiroo Ono <[email protected]> AuthorDate: 2026-07-09 14:58:08 +0000 Commit: Yusuf Yaman <[email protected]> CommitDate: 2026-08-04 11:46:50 +0000 mail/postfix-current: chase devel/mongo-c-driver update PR: 296615 Reported by: Hiroo Ono <[email protected]> Approved by: Juraj Lutter <[email protected]> (maintainer timeout, 3+ weeks) Approved by: osa, vvd (Mentors, implicit) --- mail/postfix-current/Makefile | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/mail/postfix-current/Makefile b/mail/postfix-current/Makefile index 442b95fb1708..3127067497a2 100644 --- a/mail/postfix-current/Makefile +++ b/mail/postfix-current/Makefile @@ -1,6 +1,6 @@ PORTNAME= postfix DISTVERSION= 3.12-20260706 -PORTREVISION?= 0 +PORTREVISION?= 1 PORTEPOCH= 6 CATEGORIES= mail MASTER_SITES= https://postfix-mirror.horus-it.com/postfix-release/ \ @@ -126,8 +126,8 @@ CDB_LIB_DEPENDS= libcdb.so:databases/tinycdb EAI_LIB_DEPENDS= libicuuc.so:devel/icu LDAP_USES= ldap LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb0 -MONGO_LIB_DEPENDS= libbson-1.0.so:devel/libbson \ - libmongoc-1.0.so:devel/mongo-c-driver +MONGO_LIB_DEPENDS= libbson2.so:devel/libbson \ + libmongoc2.so:devel/mongo-c-driver MYSQL_USES?= mysql PCRE2_LIB_DEPENDS= libpcre2-8.so:devel/pcre2 PGSQL_USES= pgsql @@ -136,6 +136,9 @@ SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 SQLITE_USES= sqlite TLSRPT_LIB_DEPENDS= libtlsrpt.so:mail/libtlsrpt +MONGOC_VERSION!= cd ${.CURDIR}/../../devel/mongo-c-driver; \ + make -V DISTVERSION + ALL_TARGET= default .include <bsd.port.options.mk> @@ -297,9 +300,9 @@ IGNORE= blocklistd is only supported on FreeBSD .if ${PORT_OPTIONS:MMONGO} DYN_EXT+= mongodb -POSTFIX_CCARGS+= -DHAS_MONGODB -I${LOCALBASE}/include/libmongoc-1.0 \ - -I${LOCALBASE}/include/libbson-1.0 -POSTFIX_DYN_AUXLIBS+= "AUXLIBS_MONGODB=-L${LOCALBASE}/lib -lmongoc-1.0 -lbson-1.0" +POSTFIX_CCARGS+= -DHAS_MONGODB -I${LOCALBASE}/include/mongoc-${MONGOC_VERSION} \ + -I${LOCALBASE}/include/bson-${MONGOC_VERSION} +POSTFIX_DYN_AUXLIBS+= "AUXLIBS_MONGODB=-L${LOCALBASE}/lib -lmongoc2 -lbson2" .endif .if ${PORT_OPTIONS:MMYSQL}